public static IInterfaceFieldDescriptor ID(this IInterfaceFieldDescriptor descriptor) { if (descriptor is null) { throw new ArgumentNullException(nameof(descriptor)); } RelayIdFieldHelpers.ApplyIdToField(descriptor); return(descriptor); }
public static IArgumentDescriptor ID( this IArgumentDescriptor descriptor, NameString typeName = default) { if (descriptor is null) { throw new ArgumentNullException(nameof(descriptor)); } RelayIdFieldHelpers.ApplyIdToField(descriptor, typeName); return(descriptor); }