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
I noticed that artemis adds a new rake task: graphql:schema:update. This could be potentially dangerous because graphql gem adds graphql:* rake tasks:
rails graphql:pro:validate[gem_version] # Get the checksum of a graphql-pro version and compare it to published versions on GitHub and graphql-ruby.org
rails graphql:schema:dump # Dump the schema to JSON and IDL
rails graphql:schema:idl # Dump the schema to IDL in ./schema.graphql
rails graphql:schema:json # Dump the schema to JSON in ./schema.json
For a gem called graphql, it makes sense to use graphql namespace. For artemis, I'd suggest you add an artemis namespace: artemis:*.
In this concrete example, perhaps the rake task would be: artemis:update_graphql_schema (or any other that you see fit).
I noticed that artemis adds a new rake task:
graphql:schema:update
. This could be potentially dangerous becausegraphql
gem addsgraphql:*
rake tasks:For a gem called
graphql
, it makes sense to usegraphql
namespace. For artemis, I'd suggest you add anartemis
namespace:artemis:*
.In this concrete example, perhaps the rake task would be:
artemis:update_graphql_schema
(or any other that you see fit).https://github.com/yuki24/artemis#rake-tasks
The text was updated successfully, but these errors were encountered: