Sha256: 2a93b6c7485178a2848ad649f39dba663e3a7a187172f10cf8f482dd79ded62c

Contents?: true

Size: 429 Bytes

Versions: 19

Compression:

Stored size: 429 Bytes

Contents

namespace :nulogy_graphql_api do
  desc "Generate a schema.graphql file"

  task :generate_schema, [:schema_output_path, :schema_definition_path] => :environment do |_task, args|
    abort "schema_definition_path is required" unless args.key?(:schema_definition_path)

    NulogyGraphqlApi::Tasks::SchemaGenerator
      .new(args[:schema_output_path], args[:schema_definition_path], context: {})
      .generate_schema
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
nulogy_graphql_api-4.3.0 lib/tasks/graphql_schema.rake
nulogy_graphql_api-4.2.0 lib/tasks/graphql_schema.rake
nulogy_graphql_api-4.1.0 lib/tasks/graphql_schema.rake
nulogy_graphql_api-4.0.0 lib/tasks/graphql_schema.rake
nulogy_graphql_api-3.0.1 lib/tasks/graphql_schema.rake
nulogy_graphql_api-2.2.0 lib/tasks/graphql_schema.rake
nulogy_graphql_api-2.1.3 lib/tasks/graphql_schema.rake
nulogy_graphql_api-2.1.2 lib/tasks/graphql_schema.rake
nulogy_graphql_api-2.1.1 lib/tasks/graphql_schema.rake
nulogy_graphql_api-2.1.0 lib/tasks/graphql_schema.rake
nulogy_graphql_api-2.0.1 lib/tasks/graphql_schema.rake
nulogy_graphql_api-2.0.0 lib/tasks/graphql_schema.rake
nulogy_graphql_api-1.1.1 lib/tasks/graphql_schema.rake
nulogy_graphql_api-1.1.0 lib/tasks/graphql_schema.rake
nulogy_graphql_api-1.0.0 lib/tasks/graphql_schema.rake
nulogy_graphql_api-0.6.0 lib/tasks/graphql_schema.rake
nulogy_graphql_api-0.5.3 lib/tasks/graphql_schema.rake
nulogy_graphql_api-0.5.1 lib/tasks/graphql_schema.rake
nulogy_graphql_api-0.5.0 lib/tasks/graphql_schema.rake