Skip to content

Commit

Permalink
misc: Revert graphql schemas split
Browse files Browse the repository at this point in the history
  • Loading branch information
rsempe committed Sep 25, 2024
1 parent cb4fc4e commit 037290f
Show file tree
Hide file tree
Showing 37 changed files with 94 additions and 69,548 deletions.
13 changes: 0 additions & 13 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,4 @@ require "graphql/rake_task"

Rails.application.load_tasks

# TODO(graphql_schema): This schema is deprecated and should be removed.
GraphQL::RakeTask.new(schema_name: "LagoApiSchema")

GraphQL::RakeTask.new(
schema_name: "Schemas::ApiSchema",
idl_outfile: "graphql_schemas/api.graphql",
json_outfile: "graphql_schemas/api.json"
)

GraphQL::RakeTask.new(
schema_name: "Schemas::CustomerPortalSchema",
idl_outfile: "graphql_schemas/customer_portal.graphql",
json_outfile: "graphql_schemas/customer_portal.json"
)
36 changes: 0 additions & 36 deletions app/controllers/graphql/api_controller.rb

This file was deleted.

67 changes: 0 additions & 67 deletions app/controllers/graphql/base_controller.rb

This file was deleted.

30 changes: 0 additions & 30 deletions app/controllers/graphql/customer_portal_controller.rb

This file was deleted.

1 change: 0 additions & 1 deletion app/controllers/graphql_controller.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# frozen_string_literal: true

# TODO(graphql_schema): This controller is deprecated and should be removed.
class GraphqlController < ApplicationController
include AuthenticableUser
include CustomerPortalUser
Expand Down
1 change: 0 additions & 1 deletion app/graphql/lago_api_schema.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# frozen_string_literal: true

# TODO(graphql_schema): This schema is deprecated and should be removed.
class LagoApiSchema < GraphQL::Schema
mutation(Types::MutationType)
query(Types::QueryType)
Expand Down
53 changes: 0 additions & 53 deletions app/graphql/schemas/api_schema.rb

This file was deleted.

53 changes: 0 additions & 53 deletions app/graphql/schemas/customer_portal_schema.rb

This file was deleted.

Loading

0 comments on commit 037290f

Please sign in to comment.