Open oferitz opened 7 months ago
Happens for us as well when using toolbar
with additionalContent
with a plugin which uses useEditorContext
.
E.g. with using the plugin from this pull request: https://github.com/graphql/graphiql/pull/3055
I think if that is expected to happen then I feel like some documentation for the toolbar and adding a how-to do a toolbar plugin is missing.
If you add a no-op for the caller you can get a new error:
useEditorContext({
nonNull: true,
caller: () => {},
});
Is there an existing issue for this?
https://github.com/graphql/graphiql/issues/2763 - Already mention this issue, maybe a regression?
Current Behavior
After upgrading
graphiql
from 3.0.5 to 3.1.0 i'm getting the following runtime error in the browser consoleExpected Behavior
Upgrading error should not throw error
Steps To Reproduce
No response
Environment
react
Version: 18.2.0graphql
Version: 16.8.1Anything else?
No response