Changelog
Source:NEWS.md
gqlr 0.1.0
Breaking changes
execute_request()now requiresoperation_name,variables, andinitial_valueto be named arguments, as...has been added ahead of these parameters (#11).server()now requireslogandinitial_valueto be named arguments, as...has been added ahead of these parameters (#11).server()’s/route now redirects to/graphiqlonly whengraphiql = TRUE(#11).
New features
execute_request()gains averbose_errorsargument. WhenTRUE, error-like messages are displayed in real time. By default, this isTRUEwhen run interactively (#11).server()now supports GraphiQL, an interactive GraphQL IDE. To view the GraphiQL interface, rungqlr::server(MY_SCHEMA, graphiql = TRUE)and visithttp://localhost:8000/graphiql/. By default, GraphiQL support is only enabled when run interactively (#11).
Bug fixes and minor improvements
The
pryrpackage dependency has been removed, as the package is being archived. Required functions (modify_lang(),make_function(),unenclose(),substitute_q()) have been copied into the package (#16).Introspection now correctly returns
subscriptionTypeasNULLto indicate that subscriptions are not supported (#11).Mutation execution now correctly uses the mutation operation for validation, rather than incorrectly using the query operation (#9).
The
__typenamemeta field is no longer attached to object structures (#11).