Add revision log field in the revision type
Storage is returning a list of dicts for the revision log. Add a from_dict converter to create the model objects from these dicts This is not efficient and adds an extra iteration. Has to be fixed in the storage in the future. Related to T4366
Showing
- swh/graphql/resolvers/resolvers.py 4 additions, 4 deletionsswh/graphql/resolvers/resolvers.py
- swh/graphql/resolvers/revision.py 5 additions, 1 deletionswh/graphql/resolvers/revision.py
- swh/graphql/tests/data.py 25 additions, 2 deletionsswh/graphql/tests/data.py
- swh/graphql/tests/functional/test_revision.py 47 additions, 0 deletionsswh/graphql/tests/functional/test_revision.py
Loading
Please register or sign in to comment