This PR implements new React components into graphiql to provide the user with editors where jq and jsonpath filters can be added and filtered results displayed.
New CodeMirror editors to capture filters and display filtered-results.
New 'FIlter' button to open/close the filter-editors.
Filter editors are resizables.
New components have GraphiQL feel&look.
graphql-server
Fixed bugs in jq & jsonpath handlers.
Added Cors needed configurations.
Notes
Filtered-queries requires the following special permission:
checkAuthorization(context, 'meta_query', '')
So currently the filtered-query capability will be granted by default to all users. To restric this capability, the corresponding privileges and roles to grant these privilege needs to be implemented.
Issues
Closes #3
Description
This PR implements new React components into graphiql to provide the user with editors where jq and jsonpath filters can be added and filtered results displayed.
Related PRs
graphiql-auth: pull8
Changelog
graphiql-server
graphql-server
Notes
checkAuthorization(context, 'meta_query', '')
So currently the filtered-query capability will be granted by default to all users. To restric this capability, the corresponding privileges and roles to grant these privilege needs to be implemented.