|
|
|
@@ -572,11 +572,7 @@ func (ec *executionContext) dir_auth_argsUser(
|
|
|
|
|
ctx context.Context,
|
|
|
|
|
rawArgs map[string]any,
|
|
|
|
|
) (*bool, error) {
|
|
|
|
|
// We won't call the directive if the argument is null.
|
|
|
|
|
// Set call_argument_directives_with_null to true to call directives
|
|
|
|
|
// even if the argument is null.
|
|
|
|
|
_, ok := rawArgs["user"]
|
|
|
|
|
if !ok {
|
|
|
|
|
if _, ok := rawArgs["user"]; !ok {
|
|
|
|
|
var zeroVal *bool
|
|
|
|
|
return zeroVal, nil
|
|
|
|
|
}
|
|
|
|
@@ -594,11 +590,7 @@ func (ec *executionContext) dir_auth_argsOrganization(
|
|
|
|
|
ctx context.Context,
|
|
|
|
|
rawArgs map[string]any,
|
|
|
|
|
) (*bool, error) {
|
|
|
|
|
// We won't call the directive if the argument is null.
|
|
|
|
|
// Set call_argument_directives_with_null to true to call directives
|
|
|
|
|
// even if the argument is null.
|
|
|
|
|
_, ok := rawArgs["organization"]
|
|
|
|
|
if !ok {
|
|
|
|
|
if _, ok := rawArgs["organization"]; !ok {
|
|
|
|
|
var zeroVal *bool
|
|
|
|
|
return zeroVal, nil
|
|
|
|
|
}
|
|
|
|
@@ -626,11 +618,7 @@ func (ec *executionContext) field_Mutation_addAPIKey_argsInput(
|
|
|
|
|
ctx context.Context,
|
|
|
|
|
rawArgs map[string]any,
|
|
|
|
|
) (*model.InputAPIKey, error) {
|
|
|
|
|
// We won't call the directive if the argument is null.
|
|
|
|
|
// Set call_argument_directives_with_null to true to call directives
|
|
|
|
|
// even if the argument is null.
|
|
|
|
|
_, ok := rawArgs["input"]
|
|
|
|
|
if !ok {
|
|
|
|
|
if _, ok := rawArgs["input"]; !ok {
|
|
|
|
|
var zeroVal *model.InputAPIKey
|
|
|
|
|
return zeroVal, nil
|
|
|
|
|
}
|
|
|
|
@@ -658,11 +646,7 @@ func (ec *executionContext) field_Mutation_addOrganization_argsName(
|
|
|
|
|
ctx context.Context,
|
|
|
|
|
rawArgs map[string]any,
|
|
|
|
|
) (string, error) {
|
|
|
|
|
// We won't call the directive if the argument is null.
|
|
|
|
|
// Set call_argument_directives_with_null to true to call directives
|
|
|
|
|
// even if the argument is null.
|
|
|
|
|
_, ok := rawArgs["name"]
|
|
|
|
|
if !ok {
|
|
|
|
|
if _, ok := rawArgs["name"]; !ok {
|
|
|
|
|
var zeroVal string
|
|
|
|
|
return zeroVal, nil
|
|
|
|
|
}
|
|
|
|
@@ -690,11 +674,7 @@ func (ec *executionContext) field_Mutation_updateSubGraph_argsInput(
|
|
|
|
|
ctx context.Context,
|
|
|
|
|
rawArgs map[string]any,
|
|
|
|
|
) (model.InputSubGraph, error) {
|
|
|
|
|
// We won't call the directive if the argument is null.
|
|
|
|
|
// Set call_argument_directives_with_null to true to call directives
|
|
|
|
|
// even if the argument is null.
|
|
|
|
|
_, ok := rawArgs["input"]
|
|
|
|
|
if !ok {
|
|
|
|
|
if _, ok := rawArgs["input"]; !ok {
|
|
|
|
|
var zeroVal model.InputSubGraph
|
|
|
|
|
return zeroVal, nil
|
|
|
|
|
}
|
|
|
|
@@ -722,11 +702,7 @@ func (ec *executionContext) field_Query___type_argsName(
|
|
|
|
|
ctx context.Context,
|
|
|
|
|
rawArgs map[string]any,
|
|
|
|
|
) (string, error) {
|
|
|
|
|
// We won't call the directive if the argument is null.
|
|
|
|
|
// Set call_argument_directives_with_null to true to call directives
|
|
|
|
|
// even if the argument is null.
|
|
|
|
|
_, ok := rawArgs["name"]
|
|
|
|
|
if !ok {
|
|
|
|
|
if _, ok := rawArgs["name"]; !ok {
|
|
|
|
|
var zeroVal string
|
|
|
|
|
return zeroVal, nil
|
|
|
|
|
}
|
|
|
|
@@ -759,11 +735,7 @@ func (ec *executionContext) field_Query_supergraph_argsRef(
|
|
|
|
|
ctx context.Context,
|
|
|
|
|
rawArgs map[string]any,
|
|
|
|
|
) (string, error) {
|
|
|
|
|
// We won't call the directive if the argument is null.
|
|
|
|
|
// Set call_argument_directives_with_null to true to call directives
|
|
|
|
|
// even if the argument is null.
|
|
|
|
|
_, ok := rawArgs["ref"]
|
|
|
|
|
if !ok {
|
|
|
|
|
if _, ok := rawArgs["ref"]; !ok {
|
|
|
|
|
var zeroVal string
|
|
|
|
|
return zeroVal, nil
|
|
|
|
|
}
|
|
|
|
@@ -781,11 +753,7 @@ func (ec *executionContext) field_Query_supergraph_argsIsAfter(
|
|
|
|
|
ctx context.Context,
|
|
|
|
|
rawArgs map[string]any,
|
|
|
|
|
) (*string, error) {
|
|
|
|
|
// We won't call the directive if the argument is null.
|
|
|
|
|
// Set call_argument_directives_with_null to true to call directives
|
|
|
|
|
// even if the argument is null.
|
|
|
|
|
_, ok := rawArgs["isAfter"]
|
|
|
|
|
if !ok {
|
|
|
|
|
if _, ok := rawArgs["isAfter"]; !ok {
|
|
|
|
|
var zeroVal *string
|
|
|
|
|
return zeroVal, nil
|
|
|
|
|
}
|
|
|
|
@@ -813,11 +781,7 @@ func (ec *executionContext) field___Type_enumValues_argsIncludeDeprecated(
|
|
|
|
|
ctx context.Context,
|
|
|
|
|
rawArgs map[string]any,
|
|
|
|
|
) (bool, error) {
|
|
|
|
|
// We won't call the directive if the argument is null.
|
|
|
|
|
// Set call_argument_directives_with_null to true to call directives
|
|
|
|
|
// even if the argument is null.
|
|
|
|
|
_, ok := rawArgs["includeDeprecated"]
|
|
|
|
|
if !ok {
|
|
|
|
|
if _, ok := rawArgs["includeDeprecated"]; !ok {
|
|
|
|
|
var zeroVal bool
|
|
|
|
|
return zeroVal, nil
|
|
|
|
|
}
|
|
|
|
@@ -845,11 +809,7 @@ func (ec *executionContext) field___Type_fields_argsIncludeDeprecated(
|
|
|
|
|
ctx context.Context,
|
|
|
|
|
rawArgs map[string]any,
|
|
|
|
|
) (bool, error) {
|
|
|
|
|
// We won't call the directive if the argument is null.
|
|
|
|
|
// Set call_argument_directives_with_null to true to call directives
|
|
|
|
|
// even if the argument is null.
|
|
|
|
|
_, ok := rawArgs["includeDeprecated"]
|
|
|
|
|
if !ok {
|
|
|
|
|
if _, ok := rawArgs["includeDeprecated"]; !ok {
|
|
|
|
|
var zeroVal bool
|
|
|
|
|
return zeroVal, nil
|
|
|
|
|
}
|
|
|
|
|