# getSchema

abstract fun getSchema(schemaId: String): ViaductSchema?(source)

### Deprecated

Will be either private/or somewhere not exposed

Temporary - Will be either private/or somewhere not exposed

This function is used to get the GraphQLSchema from the registered schemas. Returns null if no such schema is registered.

#### Return

GraphQLSchema instance of the registered scope

#### Parameters

schemaId

the id of the schema for which we want a GraphQLSchema