definition: replace object spread with explicit assignments#2089
definition: replace object spread with explicit assignments#2089IvanGoncharov merged 1 commit intographql:masterfrom
Conversation
In preparation for graphql#1527
70de26a to
e04d92b
Compare
Reflects changes in graphql#2089
Reflects changes in graphql#2089
Reflects changes in #2089
|
This is sort of a breaking change in practice. Because of the older spread-through, it was possible to define arbitrary other properties on fields, e.g. for https://github.com/4Catalyzer/graphql-validation-complexity#usage. This now no longer works. It's true that this was undocumented behavior, but I also don't think it was quite that rare in practice. |
|
@taion Can you please open an issue?
If there are devs stuck with this hack and can't switch to |
Fixes graphql#2114 Partly reverts graphql#2089


In preparation for #1527