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
Copy file name to clipboardExpand all lines: docs/migration/graphiql-5.0.0.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,3 +17,4 @@
17
17
- Removed props
18
18
-`keyMap`. To use Vim or Emacs keybindings in Monaco, you can use community plugins. Monaco Vim: https://github.com/brijeshb42/monaco-vim. Monaco Emacs: https://github.com/aioutecism/monaco-emacs
19
19
-`readOnly`
20
+
-`validationRules`. Use custom GraphQL worker, see https://github.com/graphql/graphiql/tree/main/packages/monaco-graphql#custom-webworker-for-passing-non-static-config-to-worker.'
'The `GraphiQLProvider` component requires a `fetcher` function to be passed as prop.',
65
65
);
66
66
}
67
+
// @ts-expect-error -- runtime check
67
68
if(props.validationRules){
68
69
thrownewError(
69
-
"`validationRules` isn't yet implemented, submit an issue in GitHub",
70
+
'`validationRules` prop is removed. Use custom GraphQL worker, see https://github.com/graphql/graphiql/tree/main/packages/monaco-graphql#custom-webworker-for-passing-non-static-config-to-worker.',
0 commit comments