Skip to content

Conversation

kix
Copy link
Contributor

@kix kix commented Jan 21, 2020

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Documented? no
Fixed tickets none
License MIT

Previously, if I was passing arguments to my resolvers with the expression function, I would get null instead of an instance if the query has no arguments (e.g. no parens at all in GQL).

However, this breaks resolvers that require an instance argument. This makes @arguments always try to return an instance of an InputObject whenever it is required.

Previously, if I was passing arguments to my resolvers with the
expression function, I would get `null` instead of an instance if the
query has no arguments (e.g. no parens at all in GQL).

However, this breaks resolvers that require an instance argument. This
makes `@arguments` always try to return an instance of an InputObject
whenever it is required.
@kix kix requested a review from mcg-web January 21, 2020 20:54
@murtukov murtukov requested review from Vincz and removed request for mcg-web July 9, 2020 18:20
@murtukov
Copy link
Contributor

murtukov commented Jul 9, 2020

ArgumentsTransformer is @Vincz's stuff. Ping 📡

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

Successfully merging this pull request may close these issues.

2 participants