You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 20, 2022. It is now read-only.
Is there a particular reason why directives are duplicated. Given the Facebook Reference implementation, there is no way to specify a resolve function for a directive. Furthermore all attempts to do so, do so by wrapping all field resolvers with additional logic that checks the astNodes for attached directives.
Can we dedupe the directives?
The text was updated successfully, but these errors were encountered:
In the general case, directives can't just be deduplicated by their names - descriptions and arguments might differ. This is similar to #13 (deduplication for types).
I agree with you however that the specified directives (include and skip) should be deduplicated by default. -> I'll tag this one as bug for the duplication of specified directives, but for custom directive deuplication, we would need an API first.
Is there a particular reason why directives are duplicated. Given the Facebook Reference implementation, there is no way to specify a resolve function for a directive. Furthermore all attempts to do so, do so by wrapping all field resolvers with additional logic that checks the astNodes for attached directives.
Can we dedupe the directives?
The text was updated successfully, but these errors were encountered: