Class MockedWiringFactory

java.lang.Object
graphql.schema.idl.MockedWiringFactory
All Implemented Interfaces:
WiringFactory

@PublicApi @NullMarked public class MockedWiringFactory extends Object implements WiringFactory
This is a WiringFactory which provides mocked types resolver and scalars. It is useful for testing only, for example for creating schemas that can be inspected but not executed on.

See RuntimeWiring.MOCKED_WIRING for example usage