Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Post processing, override relationship result. #68

Open
ego opened this issue Mar 31, 2022 · 0 comments
Open

Post processing, override relationship result. #68

ego opened this issue Mar 31, 2022 · 0 comments

Comments

@ego
Copy link

ego commented Mar 31, 2022

Hi there!
How to do post processing or override relationship result with filters?

https://github.com/art1415926535/graphene-sqlalchemy-filter/blob/master/examples/clients_and_records/graphql_schema.py#L40

class Query(graphene.ObjectType):
    all_records = MyFilterableConnectionField(RecordsConnection)
 
   @classmethod
    def resolve_all_records(cls, root, info, *args, **kwargs):
          # Like res = super().resolve_all_records()  ?
          # post processing res
          # return res
   
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant