Class IntermediateTypeOptions
(experimental) Properties for configuring an Intermediate Type.
Inheritance
System.Object
IntermediateTypeOptions
Implements
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.AWS.AppSync.dll
Syntax (csharp)
public class IntermediateTypeOptions : Object, IIntermediateTypeOptions
Syntax (vb)
Public Class IntermediateTypeOptions
Inherits Object
Implements IIntermediateTypeOptions
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
var node = new InterfaceType("Node", new IntermediateTypeOptions {
Definition = new Dictionary<string, IField> {
{ "id", GraphqlType.String(new BaseTypeOptions { IsRequired = true }) }
}
});
var demo = new ObjectType("Demo", new ObjectTypeOptions {
InterfaceTypes = new [] { node },
Definition = new Dictionary<string, IField> {
{ "version", GraphqlType.String(new BaseTypeOptions { IsRequired = true }) }
}
});
Synopsis
Constructors
IntermediateTypeOptions() |
Properties
Definition | (experimental) the attributes of this type. |
Directives | (experimental) the directives for this object type. |
Constructors
IntermediateTypeOptions()
public IntermediateTypeOptions()
Properties
Definition
(experimental) the attributes of this type.
public IDictionary<string, IField> Definition { get; set; }
Property Value
System.Collections.Generic.IDictionary<System.String, IField>
Remarks
Stability: Experimental
Directives
(experimental) the directives for this object type.
public Directive[] Directives { get; set; }
Property Value
Remarks
Default: - no directives
Stability: Experimental