Minor Changes
- #2636
62317e0b
Thanks @thomasheyenbrock! - BREAKING:- The
ExecutionContextProvider
andQueryEditor
components no longer accept theexternalFragments
prop. Instead the prop can now be passed to theEditorContextProvider
component. The provider component will normalize the prop value and provide a map of typeMap<string, FragmentDefinitionNode>
(using the fragment names as keys) as part of the value of theEditorContext
. - The
QueryEditor
component no longer accept thevalidationRules
prop. Instead the prop can now be passed to theEditorContextProvider
component. The provider component will provide the list of validation rules (empty if there are none) as part of the value of theEditorContext
. - The
ExecutionContextProvider
andHeaderEditor
components no longer accept theshouldPersistHeaders
prop. Instead theEditorContextProvider
component now provides the value of its equally named prop as part of the value of theEditorContext
.
- The