graphql-tools icon indicating copy to clipboard operation
graphql-tools copied to clipboard

inconsistency with enum type and value merge functions

Open yaacovCR opened this issue 4 years ago • 1 comments

https://github.com/ardatan/graphql-tools/pull/2417/files#r554290366

yaacovCR avatar Jan 10 '21 19:01 yaacovCR

From discussion concerning merge package enum tools:

It appears that the enum type and value mergers are implemented with reversed argument order from each other. While the enum type merger assigns A -> B, the enum value merger assigns B -> A. That means you'll end up with type settings from one candidate and value settings from the other.

Simple change but would require a major version bump for the fix.

gmac avatar Oct 03 '21 00:10 gmac