blob: b4aa2e68768c17fe9a89f6ed4a1ef73f65ea00ae [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2019 Obeo.
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Obeo - initial API and implementation
*******************************************************************************/
package org.eclipse.sirius.services.graphql.common.api;
import graphql.schema.GraphQLType;
/**
* Common interfaces of the type builders.
*
* @author sbegaudeau
*/
public interface ISiriusGraphQLTypeProvider {
/**
* Creates the GraphQL type.
*
* @param customizer
* Used to customize the creation of the type
* @return The created type
*/
GraphQLType getType(ISiriusGraphQLTypeCustomizer customizer);
}