UNPKG

@graphql-codegen/c-sharp

Version:

GraphQL Code Generator plugin for generating CSharp code based on a GraphQL schema

9 lines (8 loc) 472 B
export type JsonAttributesSource = 'Newtonsoft.Json' | 'System.Text.Json'; export declare class JsonAttributesSourceConfiguration { readonly namespace: string; readonly propertyAttribute: string; readonly requiredAttribute: string; constructor(namespace: string, propertyAttribute: string, requiredAttribute: string); } export declare function getJsonAttributeSourceConfiguration(attributesSource: JsonAttributesSource): JsonAttributesSourceConfiguration;