Interface IIntermediateType
(experimental) Intermediate Types are types that includes a certain set of fields that define the entirety of your schema.
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.AWS.AppSync.dll
Syntax (csharp)
public interface IIntermediateType
Syntax (vb)
Public Interface IIntermediateType
Remarks
Stability: Experimental
Synopsis
Properties
Definition | (experimental) the attributes of this type. |
Directives | (experimental) the directives for this object type. |
InterfaceTypes | (experimental) The Interface Types this Intermediate Type implements. |
IntermediateType | (experimental) the intermediate type linked to this attribute (i.e. an interface or an object). |
Name | (experimental) the name of this type. |
Resolvers | (experimental) The resolvers linked to this data source. |
Methods
AddField(IAddFieldOptions) | (experimental) Add a field to this Intermediate Type. |
Attribute(IBaseTypeOptions) | (experimental) Create an GraphQL Type representing this Intermediate Type. |
ToString() | (experimental) Generate the string of this object type. |
Properties
Definition
(experimental) the attributes of this type.
IDictionary<string, IField> Definition { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, IField>
Remarks
Stability: Experimental
Directives
(experimental) the directives for this object type.
virtual Directive[] Directives { get; }
Property Value
Remarks
Default: - no directives
Stability: Experimental
InterfaceTypes
(experimental) The Interface Types this Intermediate Type implements.
virtual InterfaceType[] InterfaceTypes { get; }
Property Value
Remarks
Default: - no interface types
Stability: Experimental
IntermediateType
(experimental) the intermediate type linked to this attribute (i.e. an interface or an object).
virtual IIntermediateType IntermediateType { get; }
Property Value
Remarks
Default: - no intermediate type
Stability: Experimental
Name
(experimental) the name of this type.
string Name { get; }
Property Value
System.String
Remarks
Stability: Experimental
Resolvers
(experimental) The resolvers linked to this data source.
virtual Resolver[] Resolvers { get; set; }
Property Value
Resolver[]
Remarks
Stability: Experimental
Methods
AddField(IAddFieldOptions)
(experimental) Add a field to this Intermediate Type.
void AddField(IAddFieldOptions options)
Parameters
- options IAddFieldOptions
Remarks
Stability: Experimental
Attribute(IBaseTypeOptions)
(experimental) Create an GraphQL Type representing this Intermediate Type.
GraphqlType Attribute(IBaseTypeOptions options = null)
Parameters
- options IBaseTypeOptions
the options to configure this attribute - isList - isRequired - isRequiredList.
Returns
Remarks
Stability: Experimental
ToString()
(experimental) Generate the string of this object type.
string ToString()
Returns
System.String
Remarks
Stability: Experimental