Join Slack
Powered by
Hello, is there any way to pass custom argument fr...
# orm-help
m
michal.tomsia
08/30/2018, 7:42 PM
Hello, is there any way to pass custom argument from parent to descendant resolver?
k
kratam
08/30/2018, 8:53 PM
you can modify the context from a resolver
m
michal.tomsia
08/30/2018, 9:38 PM
what If I want to resolve list of items and node value depends on argument from e.g. grandparent resolver?
michal.tomsia
08/30/2018, 9:42 PM
Real-world example. I have a list of Products that belongs to an Order and
unitPrice
of Product depends on Order creation date because admin can change price from time to time.
3
Views
Open in Slack
Previous
Next