Interface IField
(experimental) A Graphql Field.
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.AWS.AppSync.dll
Syntax (csharp)
public interface IField
Syntax (vb)
Public Interface IField
Remarks
Stability: Experimental
Synopsis
Properties
FieldOptions | (experimental) The options to make this field resolvable. |
IntermediateType | (experimental) the intermediate type linked to this attribute (i.e. an interface or an object). |
IsList | (experimental) property determining if this attribute is a list i.e. if true, attribute would be |
IsRequired | (experimental) property determining if this attribute is non-nullable i.e. if true, attribute would be |
IsRequiredList | (experimental) property determining if this attribute is a non-nullable list i.e. if true, attribute would be |
Type | (experimental) the type of attribute. |
Methods
ArgsToString() | (experimental) Generate the arguments for this field. |
DirectivesToString(AuthorizationType[]) | (experimental) Generate the directives for this field. |
ToString() | (experimental) Generate the string for this attribute. |
Properties
FieldOptions
(experimental) The options to make this field resolvable.
virtual IResolvableFieldOptions FieldOptions { get; }
Property Value
Remarks
Default: - not a resolvable field
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
IsList
(experimental) property determining if this attribute is a list i.e. if true, attribute would be [Type]
.
bool IsList { get; }
Property Value
System.Boolean
Remarks
Default: false
Stability: Experimental
IsRequired
(experimental) property determining if this attribute is non-nullable i.e. if true, attribute would be Type!
and this attribute must always have a value.
bool IsRequired { get; }
Property Value
System.Boolean
Remarks
Default: false
Stability: Experimental
IsRequiredList
(experimental) property determining if this attribute is a non-nullable list i.e. if true, attribute would be [ Type ]!
and this attribute's list must always have a value.
bool IsRequiredList { get; }
Property Value
System.Boolean
Remarks
Default: false
Stability: Experimental
Type
(experimental) the type of attribute.
Type Type { get; }
Property Value
Remarks
Stability: Experimental
Methods
ArgsToString()
(experimental) Generate the arguments for this field.
string ArgsToString()
Returns
System.String
Remarks
Stability: Experimental
DirectivesToString(AuthorizationType[])
(experimental) Generate the directives for this field.
string DirectivesToString(AuthorizationType[] modes = null)
Parameters
- modes AuthorizationType[]
the authorization modes of the graphql api.
Returns
System.String
Remarks
Default: - no authorization modes
Stability: Experimental
ToString()
(experimental) Generate the string for this attribute.
string ToString()
Returns
System.String
Remarks
Stability: Experimental