Skip to content

Configurable per-test shema #10

@ngan

Description

@ngan

Would be cool to be able to configure the schema at the per-test level. Maybe something like:

describe 'foobar', type: :graphql do
  schema FoobarSchema

  it '...' {}
end
describe 'foobar', type: :graphql do
  schema(FoobarSchema) do
    # Annoymous schema, similar to anonymous controllers.
    # Add stuff in this new schema here...
  end

  it '...' {}
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions