@@ 26,6 26,7 @@ import (
// NewExecutableSchema creates an ExecutableSchema from the ResolverRoot interface.
func NewExecutableSchema(cfg Config) graphql.ExecutableSchema {
return &executableSchema{
+ schema: cfg.Schema,
resolvers: cfg.Resolvers,
directives: cfg.Directives,
complexity: cfg.Complexity,
@@ 33,6 34,7 @@ func NewExecutableSchema(cfg Config) graphql.ExecutableSchema {
}
type Config struct {
+ Schema *ast.Schema
Resolvers ResolverRoot
Directives DirectiveRoot
Complexity ComplexityRoot
@@ 506,17 508,21 @@ type UserResolver interface {
}
type executableSchema struct {
+ schema *ast.Schema
resolvers ResolverRoot
directives DirectiveRoot
complexity ComplexityRoot
}
func (e *executableSchema) Schema() *ast.Schema {
+ if e.schema != nil {
+ return e.schema
+ }
return parsedSchema
}
func (e *executableSchema) Complexity(typeName, field string, childComplexity int, rawArgs map[string]interface{}) (int, bool) {
- ec := executionContext{nil, e}
+ ec := executionContext{nil, e, 0, 0, nil}
_ = ec
switch typeName + "." + field {
@@ 2563,7 2569,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
func (e *executableSchema) Exec(ctx context.Context) graphql.ResponseHandler {
rc := graphql.GetOperationContext(ctx)
- ec := executionContext{rc, e}
+ ec := executionContext{rc, e, 0, 0, make(chan graphql.DeferredResult)}
inputUnmarshalMap := graphql.BuildUnmarshalerMap(
ec.unmarshalInputAddListingInput,
ec.unmarshalInputAddListingLinkInput,
@@ 2604,18 2610,33 @@ func (e *executableSchema) Exec(ctx context.Context) graphql.ResponseHandler {
switch rc.Operation.Operation {
case ast.Query:
return func(ctx context.Context) *graphql.Response {
- if !first {
- return nil
+ var response graphql.Response
+ var data graphql.Marshaler
+ if first {
+ first = false
+ ctx = graphql.WithUnmarshalerMap(ctx, inputUnmarshalMap)
+ data = ec._Query(ctx, rc.Operation.SelectionSet)
+ } else {
+ if atomic.LoadInt32(&ec.pendingDeferred) > 0 {
+ result := <-ec.deferredResults
+ atomic.AddInt32(&ec.pendingDeferred, -1)
+ data = result.Result
+ response.Path = result.Path
+ response.Label = result.Label
+ response.Errors = result.Errors
+ } else {
+ return nil
+ }
}
- first = false
- ctx = graphql.WithUnmarshalerMap(ctx, inputUnmarshalMap)
- data := ec._Query(ctx, rc.Operation.SelectionSet)
var buf bytes.Buffer
data.MarshalGQL(&buf)
-
- return &graphql.Response{
- Data: buf.Bytes(),
+ response.Data = buf.Bytes()
+ if atomic.LoadInt32(&ec.deferred) > 0 {
+ hasNext := atomic.LoadInt32(&ec.pendingDeferred) > 0
+ response.HasNext = &hasNext
}
+
+ return &response
}
case ast.Mutation:
return func(ctx context.Context) *graphql.Response {
@@ 2641,20 2662,42 @@ func (e *executableSchema) Exec(ctx context.Context) graphql.ResponseHandler {
type executionContext struct {
*graphql.OperationContext
*executableSchema
+ deferred int32
+ pendingDeferred int32
+ deferredResults chan graphql.DeferredResult
+}
+
+func (ec *executionContext) processDeferredGroup(dg graphql.DeferredGroup) {
+ atomic.AddInt32(&ec.pendingDeferred, 1)
+ go func() {
+ ctx := graphql.WithFreshResponseContext(dg.Context)
+ dg.FieldSet.Dispatch(ctx)
+ ds := graphql.DeferredResult{
+ Path: dg.Path,
+ Label: dg.Label,
+ Result: dg.FieldSet,
+ Errors: graphql.GetErrors(ctx),
+ }
+ // null fields should bubble up
+ if dg.FieldSet.Invalids > 0 {
+ ds.Result = graphql.Null
+ }
+ ec.deferredResults <- ds
+ }()
}
func (ec *executionContext) introspectSchema() (*introspection.Schema, error) {
if ec.DisableIntrospection {
return nil, errors.New("introspection disabled")
}
- return introspection.WrapSchema(parsedSchema), nil
+ return introspection.WrapSchema(ec.Schema()), nil
}
func (ec *executionContext) introspectType(name string) (*introspection.Type, error) {
if ec.DisableIntrospection {
return nil, errors.New("introspection disabled")
}
- return introspection.WrapTypeFromDef(parsedSchema, parsedSchema.Types[name]), nil
+ return introspection.WrapTypeFromDef(ec.Schema(), ec.Schema().Types[name]), nil
}
//go:embed "schema.graphqls"
@@ 3721,7 3764,7 @@ func (ec *executionContext) _AddMemberPayload_success(ctx context.Context, field
return ec.marshalNBoolean2bool(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_AddMemberPayload_success(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_AddMemberPayload_success(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "AddMemberPayload",
Field: field,
@@ 3765,7 3808,7 @@ func (ec *executionContext) _AddMemberPayload_message(ctx context.Context, field
return ec.marshalNString2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_AddMemberPayload_message(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_AddMemberPayload_message(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "AddMemberPayload",
Field: field,
@@ 3809,7 3852,7 @@ func (ec *executionContext) _AdminBillingStats_activeSubscriptions(ctx context.C
return ec.marshalNInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_AdminBillingStats_activeSubscriptions(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_AdminBillingStats_activeSubscriptions(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "AdminBillingStats",
Field: field,
@@ 3853,7 3896,7 @@ func (ec *executionContext) _AdminBillingStats_pendingCancelSubscriptions(ctx co
return ec.marshalNInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_AdminBillingStats_pendingCancelSubscriptions(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_AdminBillingStats_pendingCancelSubscriptions(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "AdminBillingStats",
Field: field,
@@ 3897,7 3940,7 @@ func (ec *executionContext) _AdminBillingStats_canceledSubscription(ctx context.
return ec.marshalNInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_AdminBillingStats_canceledSubscription(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_AdminBillingStats_canceledSubscription(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "AdminBillingStats",
Field: field,
@@ 3941,7 3984,7 @@ func (ec *executionContext) _AdminBillingStats_newSubscribers(ctx context.Contex
return ec.marshalNInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_AdminBillingStats_newSubscribers(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_AdminBillingStats_newSubscribers(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "AdminBillingStats",
Field: field,
@@ 3985,7 4028,7 @@ func (ec *executionContext) _AdminBillingStats_totalAmount(ctx context.Context,
return ec.marshalNInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_AdminBillingStats_totalAmount(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_AdminBillingStats_totalAmount(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "AdminBillingStats",
Field: field,
@@ 4029,7 4072,7 @@ func (ec *executionContext) _AdminBillingStats_totalFee(ctx context.Context, fie
return ec.marshalNInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_AdminBillingStats_totalFee(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_AdminBillingStats_totalFee(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "AdminBillingStats",
Field: field,
@@ 4073,7 4116,7 @@ func (ec *executionContext) _AdminBillingStats_totalNet(ctx context.Context, fie
return ec.marshalNInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_AdminBillingStats_totalNet(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_AdminBillingStats_totalNet(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "AdminBillingStats",
Field: field,
@@ 4117,7 4160,7 @@ func (ec *executionContext) _AdminBillingStats_totalRefunded(ctx context.Context
return ec.marshalNInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_AdminBillingStats_totalRefunded(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_AdminBillingStats_totalRefunded(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "AdminBillingStats",
Field: field,
@@ 4161,7 4204,7 @@ func (ec *executionContext) _AnalyticData_key(ctx context.Context, field graphql
return ec.marshalNString2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_AnalyticData_key(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_AnalyticData_key(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "AnalyticData",
Field: field,
@@ 4205,7 4248,7 @@ func (ec *executionContext) _AnalyticData_val(ctx context.Context, field graphql
return ec.marshalNInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_AnalyticData_val(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_AnalyticData_val(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "AnalyticData",
Field: field,
@@ 4249,7 4292,7 @@ func (ec *executionContext) _Analytics_title(ctx context.Context, field graphql.
return ec.marshalNString2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Analytics_title(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Analytics_title(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Analytics",
Field: field,
@@ 4293,7 4336,7 @@ func (ec *executionContext) _Analytics_clicksOverTime(ctx context.Context, field
return ec.marshalNAnalyticData2ᚕᚖlinksᚋapiᚋgraphᚋmodelᚐAnalyticData(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Analytics_clicksOverTime(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Analytics_clicksOverTime(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Analytics",
Field: field,
@@ 4343,7 4386,7 @@ func (ec *executionContext) _Analytics_clicksCountry(ctx context.Context, field
return ec.marshalNAnalyticData2ᚕᚖlinksᚋapiᚋgraphᚋmodelᚐAnalyticData(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Analytics_clicksCountry(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Analytics_clicksCountry(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Analytics",
Field: field,
@@ 4393,7 4436,7 @@ func (ec *executionContext) _Analytics_clicksCity(ctx context.Context, field gra
return ec.marshalNAnalyticData2ᚕᚖlinksᚋapiᚋgraphᚋmodelᚐAnalyticData(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Analytics_clicksCity(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Analytics_clicksCity(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Analytics",
Field: field,
@@ 4443,7 4486,7 @@ func (ec *executionContext) _Analytics_clicksDevice(ctx context.Context, field g
return ec.marshalNAnalyticData2ᚕᚖlinksᚋapiᚋgraphᚋmodelᚐAnalyticData(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Analytics_clicksDevice(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Analytics_clicksDevice(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Analytics",
Field: field,
@@ 4493,7 4536,7 @@ func (ec *executionContext) _Analytics_clicksReferrer(ctx context.Context, field
return ec.marshalNAnalyticData2ᚕᚖlinksᚋapiᚋgraphᚋmodelᚐAnalyticData(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Analytics_clicksReferrer(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Analytics_clicksReferrer(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Analytics",
Field: field,
@@ 4540,7 4583,7 @@ func (ec *executionContext) _Analytics_listingLink(ctx context.Context, field gr
return ec.marshalOListingLink2ᚕᚖlinksᚋmodelsᚐListingLink(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Analytics_listingLink(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Analytics_listingLink(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Analytics",
Field: field,
@@ 4603,7 4646,7 @@ func (ec *executionContext) _Analytics_qrList(ctx context.Context, field graphql
return ec.marshalOQRCode2ᚕᚖlinksᚋmodelsᚐQRCode(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Analytics_qrList(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Analytics_qrList(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Analytics",
Field: field,
@@ 4667,7 4710,7 @@ func (ec *executionContext) _BaseURL_id(ctx context.Context, field graphql.Colle
return ec.marshalNInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_BaseURL_id(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_BaseURL_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "BaseURL",
Field: field,
@@ 4708,7 4751,7 @@ func (ec *executionContext) _BaseURL_title(ctx context.Context, field graphql.Co
return ec.marshalOString2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_BaseURL_title(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_BaseURL_title(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "BaseURL",
Field: field,
@@ 4752,7 4795,7 @@ func (ec *executionContext) _BaseURL_url(ctx context.Context, field graphql.Coll
return ec.marshalNString2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_BaseURL_url(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_BaseURL_url(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "BaseURL",
Field: field,
@@ 4796,7 4839,7 @@ func (ec *executionContext) _BaseURL_counter(ctx context.Context, field graphql.
return ec.marshalNInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_BaseURL_counter(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_BaseURL_counter(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "BaseURL",
Field: field,
@@ 4840,7 4883,7 @@ func (ec *executionContext) _BaseURL_tags(ctx context.Context, field graphql.Col
return ec.marshalNTag2ᚕlinksᚋmodelsᚐTag(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_BaseURL_tags(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_BaseURL_tags(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "BaseURL",
Field: field,
@@ 4914,7 4957,7 @@ func (ec *executionContext) _BaseURL_publicReady(ctx context.Context, field grap
return ec.marshalNBoolean2bool(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_BaseURL_publicReady(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_BaseURL_publicReady(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "BaseURL",
Field: field,
@@ 4958,7 5001,7 @@ func (ec *executionContext) _BaseURL_hash(ctx context.Context, field graphql.Col
return ec.marshalNString2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_BaseURL_hash(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_BaseURL_hash(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "BaseURL",
Field: field,
@@ 5002,7 5045,7 @@ func (ec *executionContext) _BaseURL_data(ctx context.Context, field graphql.Col
return ec.marshalNBaseURLData2linksᚋmodelsᚐBaseURLData(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_BaseURL_data(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_BaseURL_data(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "BaseURL",
Field: field,
@@ 5050,7 5093,7 @@ func (ec *executionContext) _BaseURL_createdOn(ctx context.Context, field graphq
return ec.marshalNTime2timeᚐTime(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_BaseURL_createdOn(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_BaseURL_createdOn(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "BaseURL",
Field: field,
@@ 5094,7 5137,7 @@ func (ec *executionContext) _BaseURL_updatedOn(ctx context.Context, field graphq
return ec.marshalNTime2timeᚐTime(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_BaseURL_updatedOn(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_BaseURL_updatedOn(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "BaseURL",
Field: field,
@@ 5135,7 5178,7 @@ func (ec *executionContext) _BaseURLData_meta(ctx context.Context, field graphql
return ec.marshalOHTMLMeta2linksᚋmodelsᚐHTMLMeta(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_BaseURLData_meta(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_BaseURLData_meta(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "BaseURLData",
Field: field,
@@ 5189,7 5232,7 @@ func (ec *executionContext) _BillingSettings_status(ctx context.Context, field g
return ec.marshalNInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_BillingSettings_status(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_BillingSettings_status(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "BillingSettings",
Field: field,
@@ 5233,7 5276,7 @@ func (ec *executionContext) _DeletePayload_success(ctx context.Context, field gr
return ec.marshalNBoolean2bool(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_DeletePayload_success(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_DeletePayload_success(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "DeletePayload",
Field: field,
@@ 5277,7 5320,7 @@ func (ec *executionContext) _DeletePayload_objectId(ctx context.Context, field g
return ec.marshalNID2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_DeletePayload_objectId(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_DeletePayload_objectId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "DeletePayload",
Field: field,
@@ 5321,7 5364,7 @@ func (ec *executionContext) _Domain_id(ctx context.Context, field graphql.Collec
return ec.marshalNInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Domain_id(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Domain_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Domain",
Field: field,
@@ 5365,7 5408,7 @@ func (ec *executionContext) _Domain_name(ctx context.Context, field graphql.Coll
return ec.marshalNString2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Domain_name(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Domain_name(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Domain",
Field: field,
@@ 5409,7 5452,7 @@ func (ec *executionContext) _Domain_lookupName(ctx context.Context, field graphq
return ec.marshalNString2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Domain_lookupName(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Domain_lookupName(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Domain",
Field: field,
@@ 5481,7 5524,7 @@ func (ec *executionContext) _Domain_orgId(ctx context.Context, field graphql.Col
return ec.marshalNNullInt2ᚖlinksᚋapiᚋgraphᚋmodelᚐNullInt(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Domain_orgId(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Domain_orgId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Domain",
Field: field,
@@ 5559,7 5602,7 @@ func (ec *executionContext) _Domain_orgSlug(ctx context.Context, field graphql.C
return ec.marshalNNullString2ᚖlinksᚋapiᚋgraphᚋmodelᚐNullString(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Domain_orgSlug(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Domain_orgSlug(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Domain",
Field: field,
@@ 5609,7 5652,7 @@ func (ec *executionContext) _Domain_service(ctx context.Context, field graphql.C
return ec.marshalNInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Domain_service(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Domain_service(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Domain",
Field: field,
@@ 5653,7 5696,7 @@ func (ec *executionContext) _Domain_level(ctx context.Context, field graphql.Col
return ec.marshalNInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Domain_level(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Domain_level(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Domain",
Field: field,
@@ 5697,7 5740,7 @@ func (ec *executionContext) _Domain_status(ctx context.Context, field graphql.Co
return ec.marshalNInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Domain_status(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Domain_status(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Domain",
Field: field,
@@ 5769,7 5812,7 @@ func (ec *executionContext) _Domain_isActive(ctx context.Context, field graphql.
return ec.marshalNBoolean2bool(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Domain_isActive(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Domain_isActive(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Domain",
Field: field,
@@ 5841,7 5884,7 @@ func (ec *executionContext) _Domain_createdOn(ctx context.Context, field graphql
return ec.marshalNTime2timeᚐTime(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Domain_createdOn(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Domain_createdOn(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Domain",
Field: field,
@@ 5913,7 5956,7 @@ func (ec *executionContext) _Domain_updatedOn(ctx context.Context, field graphql
return ec.marshalNTime2timeᚐTime(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Domain_updatedOn(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Domain_updatedOn(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Domain",
Field: field,
@@ 5957,7 6000,7 @@ func (ec *executionContext) _DomainCursor_result(ctx context.Context, field grap
return ec.marshalNDomain2ᚕᚖlinksᚋmodelsᚐDomain(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_DomainCursor_result(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_DomainCursor_result(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "DomainCursor",
Field: field,
@@ 6022,7 6065,7 @@ func (ec *executionContext) _DomainCursor_pageInfo(ctx context.Context, field gr
return ec.marshalOPageInfo2ᚖlinksᚋapiᚋgraphᚋmodelᚐPageInfo(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_DomainCursor_pageInfo(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_DomainCursor_pageInfo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "DomainCursor",
Field: field,
@@ 6074,7 6117,7 @@ func (ec *executionContext) _FollowPayload_success(ctx context.Context, field gr
return ec.marshalNBoolean2bool(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_FollowPayload_success(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_FollowPayload_success(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "FollowPayload",
Field: field,
@@ 6118,7 6161,7 @@ func (ec *executionContext) _FollowPayload_message(ctx context.Context, field gr
return ec.marshalNString2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_FollowPayload_message(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_FollowPayload_message(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "FollowPayload",
Field: field,
@@ 6162,7 6205,7 @@ func (ec *executionContext) _HTMLMeta_title(ctx context.Context, field graphql.C
return ec.marshalNString2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_HTMLMeta_title(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_HTMLMeta_title(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "HTMLMeta",
Field: field,
@@ 6206,7 6249,7 @@ func (ec *executionContext) _HTMLMeta_description(ctx context.Context, field gra
return ec.marshalNString2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_HTMLMeta_description(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_HTMLMeta_description(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "HTMLMeta",
Field: field,
@@ 6250,7 6293,7 @@ func (ec *executionContext) _HTMLMeta_image(ctx context.Context, field graphql.C
return ec.marshalNString2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_HTMLMeta_image(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_HTMLMeta_image(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "HTMLMeta",
Field: field,
@@ 6294,7 6337,7 @@ func (ec *executionContext) _HTMLMeta_siteName(ctx context.Context, field graphq
return ec.marshalNString2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_HTMLMeta_siteName(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_HTMLMeta_siteName(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "HTMLMeta",
Field: field,
@@ 6338,7 6381,7 @@ func (ec *executionContext) _LinkShort_id(ctx context.Context, field graphql.Col
return ec.marshalNInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_LinkShort_id(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_LinkShort_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "LinkShort",
Field: field,
@@ 6379,7 6422,7 @@ func (ec *executionContext) _LinkShort_title(ctx context.Context, field graphql.
return ec.marshalOString2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_LinkShort_title(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_LinkShort_title(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "LinkShort",
Field: field,
@@ 6423,7 6466,7 @@ func (ec *executionContext) _LinkShort_url(ctx context.Context, field graphql.Co
return ec.marshalNString2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_LinkShort_url(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_LinkShort_url(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "LinkShort",
Field: field,
@@ 6467,7 6510,7 @@ func (ec *executionContext) _LinkShort_shortCode(ctx context.Context, field grap
return ec.marshalNString2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_LinkShort_shortCode(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_LinkShort_shortCode(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "LinkShort",
Field: field,
@@ 6511,7 6554,7 @@ func (ec *executionContext) _LinkShort_tags(ctx context.Context, field graphql.C
return ec.marshalNTag2ᚕlinksᚋmodelsᚐTag(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_LinkShort_tags(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_LinkShort_tags(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "LinkShort",
Field: field,
@@ 6593,7 6636,7 @@ func (ec *executionContext) _LinkShort_userId(ctx context.Context, field graphql
return ec.marshalNInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_LinkShort_userId(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_LinkShort_userId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "LinkShort",
Field: field,
@@ 6662,7 6705,7 @@ func (ec *executionContext) _LinkShort_domainId(ctx context.Context, field graph
return ec.marshalOInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_LinkShort_domainId(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_LinkShort_domainId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "LinkShort",
Field: field,
@@ 6706,7 6749,7 @@ func (ec *executionContext) _LinkShort_orgId(ctx context.Context, field graphql.
return ec.marshalNInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_LinkShort_orgId(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_LinkShort_orgId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "LinkShort",
Field: field,
@@ 6778,7 6821,7 @@ func (ec *executionContext) _LinkShort_lookupName(ctx context.Context, field gra
return ec.marshalNString2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_LinkShort_lookupName(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_LinkShort_lookupName(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "LinkShort",
Field: field,
@@ 6850,7 6893,7 @@ func (ec *executionContext) _LinkShort_createdOn(ctx context.Context, field grap
return ec.marshalNTime2timeᚐTime(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_LinkShort_createdOn(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_LinkShort_createdOn(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "LinkShort",
Field: field,
@@ 6922,7 6965,7 @@ func (ec *executionContext) _LinkShort_updatedOn(ctx context.Context, field grap
return ec.marshalNTime2timeᚐTime(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_LinkShort_updatedOn(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_LinkShort_updatedOn(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "LinkShort",
Field: field,
@@ 6966,7 7009,7 @@ func (ec *executionContext) _LinkShortCursor_result(ctx context.Context, field g
return ec.marshalNLinkShort2ᚕᚖlinksᚋmodelsᚐLinkShort(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_LinkShortCursor_result(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_LinkShortCursor_result(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "LinkShortCursor",
Field: field,
@@ 7031,7 7074,7 @@ func (ec *executionContext) _LinkShortCursor_pageInfo(ctx context.Context, field
return ec.marshalOPageInfo2ᚖlinksᚋapiᚋgraphᚋmodelᚐPageInfo(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_LinkShortCursor_pageInfo(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_LinkShortCursor_pageInfo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "LinkShortCursor",
Field: field,
@@ 7083,7 7126,7 @@ func (ec *executionContext) _Listing_id(ctx context.Context, field graphql.Colle
return ec.marshalNInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Listing_id(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Listing_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Listing",
Field: field,
@@ 7127,7 7170,7 @@ func (ec *executionContext) _Listing_title(ctx context.Context, field graphql.Co
return ec.marshalNString2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Listing_title(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Listing_title(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Listing",
Field: field,
@@ 7171,7 7214,7 @@ func (ec *executionContext) _Listing_slug(ctx context.Context, field graphql.Col
return ec.marshalNString2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Listing_slug(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Listing_slug(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Listing",
Field: field,
@@ 7215,7 7258,7 @@ func (ec *executionContext) _Listing_image(ctx context.Context, field graphql.Co
return ec.marshalNString2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Listing_image(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Listing_image(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Listing",
Field: field,
@@ 7259,7 7302,7 @@ func (ec *executionContext) _Listing_metadata(ctx context.Context, field graphql
return ec.marshalNMetadata2linksᚋmodelsᚐMetadata(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Listing_metadata(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Listing_metadata(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Listing",
Field: field,
@@ 7335,7 7378,7 @@ func (ec *executionContext) _Listing_isActive(ctx context.Context, field graphql
return ec.marshalNBoolean2bool(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Listing_isActive(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Listing_isActive(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Listing",
Field: field,
@@ 7407,7 7450,7 @@ func (ec *executionContext) _Listing_isDefault(ctx context.Context, field graphq
return ec.marshalNBoolean2bool(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Listing_isDefault(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Listing_isDefault(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Listing",
Field: field,
@@ 7451,7 7494,7 @@ func (ec *executionContext) _Listing_tags(ctx context.Context, field graphql.Col
return ec.marshalNTag2ᚕlinksᚋmodelsᚐTag(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Listing_tags(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Listing_tags(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Listing",
Field: field,
@@ 7533,7 7576,7 @@ func (ec *executionContext) _Listing_userId(ctx context.Context, field graphql.C
return ec.marshalNInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Listing_userId(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Listing_userId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Listing",
Field: field,
@@ 7605,7 7648,7 @@ func (ec *executionContext) _Listing_orgId(ctx context.Context, field graphql.Co
return ec.marshalNInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Listing_orgId(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Listing_orgId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Listing",
Field: field,
@@ 7677,7 7720,7 @@ func (ec *executionContext) _Listing_domainId(ctx context.Context, field graphql
return ec.marshalNInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Listing_domainId(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Listing_domainId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Listing",
Field: field,
@@ 7749,7 7792,7 @@ func (ec *executionContext) _Listing_lookupName(ctx context.Context, field graph
return ec.marshalNString2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Listing_lookupName(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Listing_lookupName(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Listing",
Field: field,
@@ 7821,7 7864,7 @@ func (ec *executionContext) _Listing_createdOn(ctx context.Context, field graphq
return ec.marshalNTime2timeᚐTime(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Listing_createdOn(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Listing_createdOn(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Listing",
Field: field,
@@ 7893,7 7936,7 @@ func (ec *executionContext) _Listing_updatedOn(ctx context.Context, field graphq
return ec.marshalNTime2timeᚐTime(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Listing_updatedOn(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Listing_updatedOn(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Listing",
Field: field,
@@ 7937,7 7980,7 @@ func (ec *executionContext) _ListingCursor_result(ctx context.Context, field gra
return ec.marshalNListing2ᚕᚖlinksᚋmodelsᚐListing(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_ListingCursor_result(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_ListingCursor_result(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "ListingCursor",
Field: field,
@@ 8008,7 8051,7 @@ func (ec *executionContext) _ListingCursor_pageInfo(ctx context.Context, field g
return ec.marshalOPageInfo2ᚖlinksᚋapiᚋgraphᚋmodelᚐPageInfo(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_ListingCursor_pageInfo(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_ListingCursor_pageInfo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "ListingCursor",
Field: field,
@@ 8060,7 8103,7 @@ func (ec *executionContext) _ListingLink_id(ctx context.Context, field graphql.C
return ec.marshalNInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_ListingLink_id(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_ListingLink_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "ListingLink",
Field: field,
@@ 8104,7 8147,7 @@ func (ec *executionContext) _ListingLink_title(ctx context.Context, field graphq
return ec.marshalNString2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_ListingLink_title(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_ListingLink_title(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "ListingLink",
Field: field,
@@ 8148,7 8191,7 @@ func (ec *executionContext) _ListingLink_linkOrder(ctx context.Context, field gr
return ec.marshalNInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_ListingLink_linkOrder(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_ListingLink_linkOrder(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "ListingLink",
Field: field,
@@ 8192,7 8235,7 @@ func (ec *executionContext) _ListingLink_url(ctx context.Context, field graphql.
return ec.marshalNString2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_ListingLink_url(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_ListingLink_url(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "ListingLink",
Field: field,
@@ 8233,7 8276,7 @@ func (ec *executionContext) _ListingLink_description(ctx context.Context, field
return ec.marshalOString2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_ListingLink_description(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_ListingLink_description(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "ListingLink",
Field: field,
@@ 8305,7 8348,7 @@ func (ec *executionContext) _ListingLink_userId(ctx context.Context, field graph
return ec.marshalNInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_ListingLink_userId(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_ListingLink_userId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "ListingLink",
Field: field,
@@ 8349,7 8392,7 @@ func (ec *executionContext) _ListingLink_listingId(ctx context.Context, field gr
return ec.marshalNInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_ListingLink_listingId(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_ListingLink_listingId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "ListingLink",
Field: field,
@@ 8421,7 8464,7 @@ func (ec *executionContext) _ListingLink_clicks(ctx context.Context, field graph
return ec.marshalNInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_ListingLink_clicks(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_ListingLink_clicks(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "ListingLink",
Field: field,
@@ 8493,7 8536,7 @@ func (ec *executionContext) _ListingLink_createdOn(ctx context.Context, field gr
return ec.marshalNTime2timeᚐTime(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_ListingLink_createdOn(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_ListingLink_createdOn(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "ListingLink",
Field: field,
@@ 8565,7 8608,7 @@ func (ec *executionContext) _ListingLink_updatedOn(ctx context.Context, field gr
return ec.marshalNTime2timeᚐTime(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_ListingLink_updatedOn(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_ListingLink_updatedOn(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "ListingLink",
Field: field,
@@ 8609,7 8652,7 @@ func (ec *executionContext) _ListingLinkCursor_result(ctx context.Context, field
return ec.marshalNListing2ᚖlinksᚋmodelsᚐListing(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_ListingLinkCursor_result(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_ListingLinkCursor_result(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "ListingLinkCursor",
Field: field,
@@ 8683,7 8726,7 @@ func (ec *executionContext) _ListingLinkCursor_links(ctx context.Context, field
return ec.marshalNListingLink2ᚕᚖlinksᚋmodelsᚐListingLink(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_ListingLinkCursor_links(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_ListingLinkCursor_links(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "ListingLinkCursor",
Field: field,
@@ 8746,7 8789,7 @@ func (ec *executionContext) _ListingLinkCursor_pageInfo(ctx context.Context, fie
return ec.marshalOPageInfo2ᚖlinksᚋapiᚋgraphᚋmodelᚐPageInfo(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_ListingLinkCursor_pageInfo(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_ListingLinkCursor_pageInfo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "ListingLinkCursor",
Field: field,
@@ 8798,7 8841,7 @@ func (ec *executionContext) _Metadata_socialLinks(ctx context.Context, field gra
return ec.marshalNSocialLinks2linksᚋmodelsᚐSocialLinks(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Metadata_socialLinks(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Metadata_socialLinks(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Metadata",
Field: field,
@@ 8927,7 8970,7 @@ func (ec *executionContext) fieldContext_Mutation_addOrganization(ctx context.Co
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field_Mutation_addOrganization_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
- return
+ return fc, err
}
return fc, nil
}
@@ 9050,7 9093,7 @@ func (ec *executionContext) fieldContext_Mutation_addLink(ctx context.Context, f
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field_Mutation_addLink_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
- return
+ return fc, err
}
return fc, nil
}
@@ 9173,7 9216,7 @@ func (ec *executionContext) fieldContext_Mutation_updateLink(ctx context.Context
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field_Mutation_updateLink_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
- return
+ return fc, err
}
return fc, nil
}
@@ 9262,7 9305,7 @@ func (ec *executionContext) fieldContext_Mutation_deleteLink(ctx context.Context
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field_Mutation_deleteLink_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
- return
+ return fc, err
}
return fc, nil
}
@@ 9385,7 9428,7 @@ func (ec *executionContext) fieldContext_Mutation_addNote(ctx context.Context, f
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field_Mutation_addNote_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
- return
+ return fc, err
}
return fc, nil
}
@@ 9474,7 9517,7 @@ func (ec *executionContext) fieldContext_Mutation_addMember(ctx context.Context,
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field_Mutation_addMember_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
- return
+ return fc, err
}
return fc, nil
}
@@ 9563,7 9606,7 @@ func (ec *executionContext) fieldContext_Mutation_deleteMember(ctx context.Conte
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field_Mutation_deleteMember_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
- return
+ return fc, err
}
return fc, nil
}
@@ 9652,7 9695,7 @@ func (ec *executionContext) fieldContext_Mutation_confirmMember(ctx context.Cont
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field_Mutation_confirmMember_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
- return
+ return fc, err
}
return fc, nil
}
@@ 9723,7 9766,7 @@ func (ec *executionContext) fieldContext_Mutation_register(ctx context.Context,
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field_Mutation_register_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
- return
+ return fc, err
}
return fc, nil
}
@@ 9822,7 9865,7 @@ func (ec *executionContext) fieldContext_Mutation_completeRegister(ctx context.C
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field_Mutation_completeRegister_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
- return
+ return fc, err
}
return fc, nil
}
@@ 9921,7 9964,7 @@ func (ec *executionContext) fieldContext_Mutation_updateProfile(ctx context.Cont
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field_Mutation_updateProfile_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
- return
+ return fc, err
}
return fc, nil
}
@@ 10030,7 10073,7 @@ func (ec *executionContext) fieldContext_Mutation_updateOrganization(ctx context
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field_Mutation_updateOrganization_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
- return
+ return fc, err
}
return fc, nil
}
@@ 10137,7 10180,7 @@ func (ec *executionContext) fieldContext_Mutation_addDomain(ctx context.Context,
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field_Mutation_addDomain_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
- return
+ return fc, err
}
return fc, nil
}
@@ 10226,7 10269,7 @@ func (ec *executionContext) fieldContext_Mutation_deleteDomain(ctx context.Conte
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field_Mutation_deleteDomain_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
- return
+ return fc, err
}
return fc, nil
}
@@ 10333,7 10376,7 @@ func (ec *executionContext) fieldContext_Mutation_addLinkShort(ctx context.Conte
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field_Mutation_addLinkShort_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
- return
+ return fc, err
}
return fc, nil
}
@@ 10440,7 10483,7 @@ func (ec *executionContext) fieldContext_Mutation_updateLinkShort(ctx context.Co
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field_Mutation_updateLinkShort_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
- return
+ return fc, err
}
return fc, nil
}
@@ 10529,7 10572,7 @@ func (ec *executionContext) fieldContext_Mutation_deleteLinkShort(ctx context.Co
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field_Mutation_deleteLinkShort_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
- return
+ return fc, err
}
return fc, nil
}
@@ 10642,7 10685,7 @@ func (ec *executionContext) fieldContext_Mutation_addListing(ctx context.Context
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field_Mutation_addListing_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
- return
+ return fc, err
}
return fc, nil
}
@@ 10747,7 10790,7 @@ func (ec *executionContext) fieldContext_Mutation_addListingLink(ctx context.Con
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field_Mutation_addListingLink_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
- return
+ return fc, err
}
return fc, nil
}
@@ 10860,7 10903,7 @@ func (ec *executionContext) fieldContext_Mutation_updateListing(ctx context.Cont
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field_Mutation_updateListing_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
- return
+ return fc, err
}
return fc, nil
}
@@ 10965,7 11008,7 @@ func (ec *executionContext) fieldContext_Mutation_updateListingLink(ctx context.
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field_Mutation_updateListingLink_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
- return
+ return fc, err
}
return fc, nil
}
@@ 11054,7 11097,7 @@ func (ec *executionContext) fieldContext_Mutation_deleteListing(ctx context.Cont
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field_Mutation_deleteListing_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
- return
+ return fc, err
}
return fc, nil
}
@@ 11143,7 11186,7 @@ func (ec *executionContext) fieldContext_Mutation_deleteListingLink(ctx context.
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field_Mutation_deleteListingLink_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
- return
+ return fc, err
}
return fc, nil
}
@@ 11218,7 11261,7 @@ func (ec *executionContext) fieldContext_Mutation_addQRCode(ctx context.Context,
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field_Mutation_addQRCode_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
- return
+ return fc, err
}
return fc, nil
}
@@ 11307,7 11350,7 @@ func (ec *executionContext) fieldContext_Mutation_deleteQRCode(ctx context.Conte
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field_Mutation_deleteQRCode_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
- return
+ return fc, err
}
return fc, nil
}
@@ 11396,7 11439,7 @@ func (ec *executionContext) fieldContext_Mutation_follow(ctx context.Context, fi
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field_Mutation_follow_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
- return
+ return fc, err
}
return fc, nil
}
@@ 11485,7 11528,7 @@ func (ec *executionContext) fieldContext_Mutation_unfollow(ctx context.Context,
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field_Mutation_unfollow_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
- return
+ return fc, err
}
return fc, nil
}
@@ 11586,7 11629,7 @@ func (ec *executionContext) fieldContext_Mutation_updateAdminOrgType(ctx context
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field_Mutation_updateAdminOrgType_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
- return
+ return fc, err
}
return fc, nil
}
@@ 11685,7 11728,7 @@ func (ec *executionContext) fieldContext_Mutation_addAdminDomain(ctx context.Con
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field_Mutation_addAdminDomain_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
- return
+ return fc, err
}
return fc, nil
}
@@ 11784,7 11827,7 @@ func (ec *executionContext) fieldContext_Mutation_updateAdminDomain(ctx context.
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field_Mutation_updateAdminDomain_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
- return
+ return fc, err
}
return fc, nil
}
@@ 11875,7 11918,7 @@ func (ec *executionContext) fieldContext_Mutation_updateAdminUser(ctx context.Co
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field_Mutation_updateAdminUser_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
- return
+ return fc, err
}
return fc, nil
}
@@ 11954,7 11997,7 @@ func (ec *executionContext) fieldContext_Mutation_sendRegisterInvitation(ctx con
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field_Mutation_sendRegisterInvitation_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
- return
+ return fc, err
}
return fc, nil
}
@@ 11990,7 12033,7 @@ func (ec *executionContext) _NullInt_int64(ctx context.Context, field graphql.Co
return ec.marshalNInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_NullInt_int64(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_NullInt_int64(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "NullInt",
Field: field,
@@ 12034,7 12077,7 @@ func (ec *executionContext) _NullInt_valid(ctx context.Context, field graphql.Co
return ec.marshalNBoolean2bool(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_NullInt_valid(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_NullInt_valid(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "NullInt",
Field: field,
@@ 12078,7 12121,7 @@ func (ec *executionContext) _NullString_string(ctx context.Context, field graphq
return ec.marshalNString2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_NullString_string(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_NullString_string(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "NullString",
Field: field,
@@ 12122,7 12165,7 @@ func (ec *executionContext) _NullString_valid(ctx context.Context, field graphql
return ec.marshalNBoolean2bool(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_NullString_valid(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_NullString_valid(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "NullString",
Field: field,
@@ 12166,7 12209,7 @@ func (ec *executionContext) _OrgLink_id(ctx context.Context, field graphql.Colle
return ec.marshalNInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_OrgLink_id(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_OrgLink_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "OrgLink",
Field: field,
@@ 12210,7 12253,7 @@ func (ec *executionContext) _OrgLink_title(ctx context.Context, field graphql.Co
return ec.marshalNString2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_OrgLink_title(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_OrgLink_title(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "OrgLink",
Field: field,
@@ 12254,7 12297,7 @@ func (ec *executionContext) _OrgLink_description(ctx context.Context, field grap
return ec.marshalNString2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_OrgLink_description(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_OrgLink_description(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "OrgLink",
Field: field,
@@ 12298,7 12341,7 @@ func (ec *executionContext) _OrgLink_url(ctx context.Context, field graphql.Coll
return ec.marshalNString2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_OrgLink_url(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_OrgLink_url(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "OrgLink",
Field: field,
@@ 12342,7 12385,7 @@ func (ec *executionContext) _OrgLink_hash(ctx context.Context, field graphql.Col
return ec.marshalNString2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_OrgLink_hash(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_OrgLink_hash(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "OrgLink",
Field: field,
@@ 12414,7 12457,7 @@ func (ec *executionContext) _OrgLink_baseUrlId(ctx context.Context, field graphq
return ec.marshalNNullInt2ᚖlinksᚋapiᚋgraphᚋmodelᚐNullInt(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_OrgLink_baseUrlId(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_OrgLink_baseUrlId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "OrgLink",
Field: field,
@@ 12492,7 12535,7 @@ func (ec *executionContext) _OrgLink_orgId(ctx context.Context, field graphql.Co
return ec.marshalNInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_OrgLink_orgId(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_OrgLink_orgId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "OrgLink",
Field: field,
@@ 12561,7 12604,7 @@ func (ec *executionContext) _OrgLink_userId(ctx context.Context, field graphql.C
return ec.marshalOInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_OrgLink_userId(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_OrgLink_userId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "OrgLink",
Field: field,
@@ 12605,7 12648,7 @@ func (ec *executionContext) _OrgLink_visibility(ctx context.Context, field graph
return ec.marshalNInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_OrgLink_visibility(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_OrgLink_visibility(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "OrgLink",
Field: field,
@@ 12677,7 12720,7 @@ func (ec *executionContext) _OrgLink_unread(ctx context.Context, field graphql.C
return ec.marshalNBoolean2bool(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_OrgLink_unread(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_OrgLink_unread(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "OrgLink",
Field: field,
@@ 12749,7 12792,7 @@ func (ec *executionContext) _OrgLink_starred(ctx context.Context, field graphql.
return ec.marshalNBoolean2bool(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_OrgLink_starred(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_OrgLink_starred(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "OrgLink",
Field: field,
@@ 12793,7 12836,7 @@ func (ec *executionContext) _OrgLink_archiveUrl(ctx context.Context, field graph
return ec.marshalNString2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_OrgLink_archiveUrl(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_OrgLink_archiveUrl(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "OrgLink",
Field: field,
@@ 12837,7 12880,7 @@ func (ec *executionContext) _OrgLink_type(ctx context.Context, field graphql.Col
return ec.marshalNInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_OrgLink_type(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_OrgLink_type(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "OrgLink",
Field: field,
@@ 12881,7 12924,7 @@ func (ec *executionContext) _OrgLink_tags(ctx context.Context, field graphql.Col
return ec.marshalNTag2ᚕlinksᚋmodelsᚐTag(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_OrgLink_tags(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_OrgLink_tags(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "OrgLink",
Field: field,
@@ 12935,7 12978,7 @@ func (ec *executionContext) _OrgLink_author(ctx context.Context, field graphql.C
return ec.marshalNString2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_OrgLink_author(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_OrgLink_author(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "OrgLink",
Field: field,
@@ 13007,7 13050,7 @@ func (ec *executionContext) _OrgLink_orgSlug(ctx context.Context, field graphql.
return ec.marshalNString2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_OrgLink_orgSlug(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_OrgLink_orgSlug(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "OrgLink",
Field: field,
@@ 13051,7 13094,7 @@ func (ec *executionContext) _OrgLink_createdOn(ctx context.Context, field graphq
return ec.marshalNTime2timeᚐTime(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_OrgLink_createdOn(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_OrgLink_createdOn(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "OrgLink",
Field: field,
@@ 13095,7 13138,7 @@ func (ec *executionContext) _OrgLink_updatedOn(ctx context.Context, field graphq
return ec.marshalNTime2timeᚐTime(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_OrgLink_updatedOn(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_OrgLink_updatedOn(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "OrgLink",
Field: field,
@@ 13139,7 13182,7 @@ func (ec *executionContext) _OrgLink_baseUrlData(ctx context.Context, field grap
return ec.marshalNBaseURLData2linksᚋmodelsᚐBaseURLData(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_OrgLink_baseUrlData(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_OrgLink_baseUrlData(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "OrgLink",
Field: field,
@@ 13187,7 13230,7 @@ func (ec *executionContext) _OrgLinkCursor_result(ctx context.Context, field gra
return ec.marshalNOrgLink2ᚕᚖlinksᚋmodelsᚐOrgLink(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_OrgLinkCursor_result(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_OrgLinkCursor_result(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "OrgLinkCursor",
Field: field,
@@ 13268,7 13311,7 @@ func (ec *executionContext) _OrgLinkCursor_pageInfo(ctx context.Context, field g
return ec.marshalOPageInfo2ᚖlinksᚋapiᚋgraphᚋmodelᚐPageInfo(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_OrgLinkCursor_pageInfo(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_OrgLinkCursor_pageInfo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "OrgLinkCursor",
Field: field,
@@ 13320,7 13363,7 @@ func (ec *executionContext) _Organization_id(ctx context.Context, field graphql.
return ec.marshalNInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Organization_id(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Organization_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Organization",
Field: field,
@@ 13392,7 13435,7 @@ func (ec *executionContext) _Organization_ownerId(ctx context.Context, field gra
return ec.marshalNInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Organization_ownerId(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Organization_ownerId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Organization",
Field: field,
@@ 13436,7 13479,7 @@ func (ec *executionContext) _Organization_orgType(ctx context.Context, field gra
return ec.marshalNInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Organization_orgType(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Organization_orgType(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Organization",
Field: field,
@@ 13480,7 13523,7 @@ func (ec *executionContext) _Organization_name(ctx context.Context, field graphq
return ec.marshalNString2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Organization_name(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Organization_name(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Organization",
Field: field,
@@ 13524,7 13567,7 @@ func (ec *executionContext) _Organization_slug(ctx context.Context, field graphq
return ec.marshalNString2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Organization_slug(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Organization_slug(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Organization",
Field: field,
@@ 13565,7 13608,7 @@ func (ec *executionContext) _Organization_image(ctx context.Context, field graph
return ec.marshalOUpload2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚐUpload(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Organization_image(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Organization_image(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Organization",
Field: field,
@@ 13637,7 13680,7 @@ func (ec *executionContext) _Organization_timezone(ctx context.Context, field gr
return ec.marshalNString2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Organization_timezone(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Organization_timezone(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Organization",
Field: field,
@@ 13709,7 13752,7 @@ func (ec *executionContext) _Organization_settings(ctx context.Context, field gr
return ec.marshalNOrganizationSettings2linksᚋmodelsᚐOrganizationSettings(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Organization_settings(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Organization_settings(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Organization",
Field: field,
@@ 13787,7 13830,7 @@ func (ec *executionContext) _Organization_isActive(ctx context.Context, field gr
return ec.marshalNBoolean2bool(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Organization_isActive(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Organization_isActive(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Organization",
Field: field,
@@ 13831,7 13874,7 @@ func (ec *executionContext) _Organization_createdOn(ctx context.Context, field g
return ec.marshalNTime2timeᚐTime(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Organization_createdOn(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Organization_createdOn(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Organization",
Field: field,
@@ 13875,7 13918,7 @@ func (ec *executionContext) _Organization_updatedOn(ctx context.Context, field g
return ec.marshalNTime2timeᚐTime(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Organization_updatedOn(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Organization_updatedOn(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Organization",
Field: field,
@@ 13947,7 13990,7 @@ func (ec *executionContext) _Organization_ownerName(ctx context.Context, field g
return ec.marshalNString2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Organization_ownerName(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Organization_ownerName(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Organization",
Field: field,
@@ 13991,7 14034,7 @@ func (ec *executionContext) _OrganizationCursor_result(ctx context.Context, fiel
return ec.marshalNOrganization2ᚕᚖlinksᚋmodelsᚐOrganization(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_OrganizationCursor_result(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_OrganizationCursor_result(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "OrganizationCursor",
Field: field,
@@ 14058,7 14101,7 @@ func (ec *executionContext) _OrganizationCursor_pageInfo(ctx context.Context, fi
return ec.marshalOPageInfo2ᚖlinksᚋapiᚋgraphᚋmodelᚐPageInfo(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_OrganizationCursor_pageInfo(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_OrganizationCursor_pageInfo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "OrganizationCursor",
Field: field,
@@ 14110,7 14153,7 @@ func (ec *executionContext) _OrganizationSettings_defaultPerm(ctx context.Contex
return ec.marshalNInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_OrganizationSettings_defaultPerm(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_OrganizationSettings_defaultPerm(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "OrganizationSettings",
Field: field,
@@ 14151,7 14194,7 @@ func (ec *executionContext) _OrganizationSettings_billing(ctx context.Context, f
return ec.marshalOBillingSettings2linksᚋmodelsᚐBillingSettings(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_OrganizationSettings_billing(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_OrganizationSettings_billing(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "OrganizationSettings",
Field: field,
@@ 14199,7 14242,7 @@ func (ec *executionContext) _OrganizationStats_links(ctx context.Context, field
return ec.marshalNInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_OrganizationStats_links(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_OrganizationStats_links(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "OrganizationStats",
Field: field,
@@ 14243,7 14286,7 @@ func (ec *executionContext) _OrganizationStats_lists(ctx context.Context, field
return ec.marshalNInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_OrganizationStats_lists(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_OrganizationStats_lists(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "OrganizationStats",
Field: field,
@@ 14287,7 14330,7 @@ func (ec *executionContext) _OrganizationStats_shorts(ctx context.Context, field
return ec.marshalNInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_OrganizationStats_shorts(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_OrganizationStats_shorts(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "OrganizationStats",
Field: field,
@@ 14331,7 14374,7 @@ func (ec *executionContext) _PageInfo_cursor(ctx context.Context, field graphql.
return ec.marshalNCursor2linksᚋapiᚋgraphᚋmodelᚐCursor(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_PageInfo_cursor(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_PageInfo_cursor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "PageInfo",
Field: field,
@@ 14375,7 14418,7 @@ func (ec *executionContext) _PageInfo_hasNextPage(ctx context.Context, field gra
return ec.marshalNBoolean2bool(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_PageInfo_hasNextPage(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_PageInfo_hasNextPage(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "PageInfo",
Field: field,
@@ 14419,7 14462,7 @@ func (ec *executionContext) _PageInfo_hasPrevPage(ctx context.Context, field gra
return ec.marshalNBoolean2bool(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_PageInfo_hasPrevPage(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_PageInfo_hasPrevPage(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "PageInfo",
Field: field,
@@ 14463,7 14506,7 @@ func (ec *executionContext) _Payment_id(ctx context.Context, field graphql.Colle
return ec.marshalNInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Payment_id(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Payment_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Payment",
Field: field,
@@ 14507,7 14550,7 @@ func (ec *executionContext) _Payment_amount(ctx context.Context, field graphql.C
return ec.marshalNInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Payment_amount(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Payment_amount(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Payment",
Field: field,
@@ 14551,7 14594,7 @@ func (ec *executionContext) _Payment_amountRefunded(ctx context.Context, field g
return ec.marshalNInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Payment_amountRefunded(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Payment_amountRefunded(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Payment",
Field: field,
@@ 14595,7 14638,7 @@ func (ec *executionContext) _Payment_hostedInvoiceURL(ctx context.Context, field
return ec.marshalNString2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Payment_hostedInvoiceURL(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Payment_hostedInvoiceURL(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Payment",
Field: field,
@@ 14639,7 14682,7 @@ func (ec *executionContext) _Payment_createdOn(ctx context.Context, field graphq
return ec.marshalNTime2timeᚐTime(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Payment_createdOn(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Payment_createdOn(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Payment",
Field: field,
@@ 14683,7 14726,7 @@ func (ec *executionContext) _Payment_amountPaid(ctx context.Context, field graph
return ec.marshalNInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Payment_amountPaid(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Payment_amountPaid(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Payment",
Field: field,
@@ 14747,7 14790,7 @@ func (ec *executionContext) _Payment_amountNet(ctx context.Context, field graphq
return ec.marshalNInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Payment_amountNet(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Payment_amountNet(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Payment",
Field: field,
@@ 14791,7 14834,7 @@ func (ec *executionContext) _Payment_paymentFee(ctx context.Context, field graph
return ec.marshalNInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Payment_paymentFee(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Payment_paymentFee(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Payment",
Field: field,
@@ 14863,7 14906,7 @@ func (ec *executionContext) _Payment_orgId(ctx context.Context, field graphql.Co
return ec.marshalNInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Payment_orgId(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Payment_orgId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Payment",
Field: field,
@@ 14935,7 14978,7 @@ func (ec *executionContext) _Payment_orgSlug(ctx context.Context, field graphql.
return ec.marshalNString2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Payment_orgSlug(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Payment_orgSlug(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Payment",
Field: field,
@@ 14979,7 15022,7 @@ func (ec *executionContext) _PaymentCursor_result(ctx context.Context, field gra
return ec.marshalNPayment2ᚕᚖlinksᚋapiᚋgraphᚋmodelᚐPayment(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_PaymentCursor_result(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_PaymentCursor_result(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "PaymentCursor",
Field: field,
@@ 15042,7 15085,7 @@ func (ec *executionContext) _PaymentCursor_pageInfo(ctx context.Context, field g
return ec.marshalOPageInfo2ᚖlinksᚋapiᚋgraphᚋmodelᚐPageInfo(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_PaymentCursor_pageInfo(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_PaymentCursor_pageInfo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "PaymentCursor",
Field: field,
@@ 15094,7 15137,7 @@ func (ec *executionContext) _QRCode_id(ctx context.Context, field graphql.Collec
return ec.marshalNInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_QRCode_id(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_QRCode_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "QRCode",
Field: field,
@@ 15138,7 15181,7 @@ func (ec *executionContext) _QRCode_title(ctx context.Context, field graphql.Col
return ec.marshalNString2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_QRCode_title(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_QRCode_title(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "QRCode",
Field: field,
@@ 15182,7 15225,7 @@ func (ec *executionContext) _QRCode_orgId(ctx context.Context, field graphql.Col
return ec.marshalNInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_QRCode_orgId(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_QRCode_orgId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "QRCode",
Field: field,
@@ 15226,7 15269,7 @@ func (ec *executionContext) _QRCode_codeType(ctx context.Context, field graphql.
return ec.marshalNInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_QRCode_codeType(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_QRCode_codeType(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "QRCode",
Field: field,
@@ 15270,7 15313,7 @@ func (ec *executionContext) _QRCode_url(ctx context.Context, field graphql.Colle
return ec.marshalNString2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_QRCode_url(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_QRCode_url(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "QRCode",
Field: field,
@@ 15314,7 15357,7 @@ func (ec *executionContext) _QRCode_imagePath(ctx context.Context, field graphql
return ec.marshalNString2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_QRCode_imagePath(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_QRCode_imagePath(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "QRCode",
Field: field,
@@ 15386,7 15429,7 @@ func (ec *executionContext) _QRCode_hashId(ctx context.Context, field graphql.Co
return ec.marshalNString2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_QRCode_hashId(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_QRCode_hashId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "QRCode",
Field: field,
@@ 15430,7 15473,7 @@ func (ec *executionContext) _QRCode_createdOn(ctx context.Context, field graphql
return ec.marshalNTime2timeᚐTime(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_QRCode_createdOn(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_QRCode_createdOn(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "QRCode",
Field: field,
@@ 15474,7 15517,7 @@ func (ec *executionContext) _QRCode_clicks(ctx context.Context, field graphql.Co
return ec.marshalNInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_QRCode_clicks(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_QRCode_clicks(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "QRCode",
Field: field,
@@ 15546,7 15589,7 @@ func (ec *executionContext) _QRObject_qrCodeId(ctx context.Context, field graphq
return ec.marshalNInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_QRObject_qrCodeId(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_QRObject_qrCodeId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "QRObject",
Field: field,
@@ 15618,7 15661,7 @@ func (ec *executionContext) _QRObject_qrHashId(ctx context.Context, field graphq
return ec.marshalNString2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_QRObject_qrHashId(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_QRObject_qrHashId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "QRObject",
Field: field,
@@ 15690,7 15733,7 @@ func (ec *executionContext) _QRObject_userId(ctx context.Context, field graphql.
return ec.marshalNInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_QRObject_userId(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_QRObject_userId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "QRObject",
Field: field,
@@ 15734,7 15777,7 @@ func (ec *executionContext) _QRObject_createdOn(ctx context.Context, field graph
return ec.marshalNTime2timeᚐTime(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_QRObject_createdOn(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_QRObject_createdOn(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "QRObject",
Field: field,
@@ 15778,7 15821,7 @@ func (ec *executionContext) _QRObject_title(ctx context.Context, field graphql.C
return ec.marshalNString2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_QRObject_title(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_QRObject_title(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "QRObject",
Field: field,
@@ 15822,7 15865,7 @@ func (ec *executionContext) _Query_version(ctx context.Context, field graphql.Co
return ec.marshalNVersion2ᚖlinksᚋapiᚋgraphᚋmodelᚐVersion(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Query_version(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Query_version(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Query",
Field: field,
@@ 15904,7 15947,7 @@ func (ec *executionContext) _Query_me(ctx context.Context, field graphql.Collect
return ec.marshalNUser2ᚖlinksᚋmodelsᚐUser(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Query_me(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Query_me(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Query",
Field: field,
@@ 16017,7 16060,7 @@ func (ec *executionContext) fieldContext_Query_getUsers(ctx context.Context, fie
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field_Query_getUsers_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
- return
+ return fc, err
}
return fc, nil
}
@@ 16116,7 16159,7 @@ func (ec *executionContext) fieldContext_Query_getUser(ctx context.Context, fiel
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field_Query_getUser_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
- return
+ return fc, err
}
return fc, nil
}
@@ 16225,7 16268,7 @@ func (ec *executionContext) fieldContext_Query_getOrganizations(ctx context.Cont
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field_Query_getOrganizations_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
- return
+ return fc, err
}
return fc, nil
}
@@ 16331,7 16374,7 @@ func (ec *executionContext) fieldContext_Query_getOrganization(ctx context.Conte
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field_Query_getOrganization_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
- return
+ return fc, err
}
return fc, nil
}
@@ 16420,7 16463,7 @@ func (ec *executionContext) fieldContext_Query_getPaymentHistory(ctx context.Con
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field_Query_getPaymentHistory_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
- return
+ return fc, err
}
return fc, nil
}
@@ 16525,7 16568,7 @@ func (ec *executionContext) fieldContext_Query_getPopularLinks(ctx context.Conte
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field_Query_getPopularLinks_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
- return
+ return fc, err
}
return fc, nil
}
@@ 16645,7 16688,7 @@ func (ec *executionContext) fieldContext_Query_getOrgLink(ctx context.Context, f
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field_Query_getOrgLink_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
- return
+ return fc, err
}
return fc, nil
}
@@ 16734,7 16777,7 @@ func (ec *executionContext) fieldContext_Query_getOrgLinks(ctx context.Context,
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field_Query_getOrgLinks_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
- return
+ return fc, err
}
return fc, nil
}
@@ 16833,7 16876,7 @@ func (ec *executionContext) fieldContext_Query_getOrgMembers(ctx context.Context
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field_Query_getOrgMembers_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
- return
+ return fc, err
}
return fc, nil
}
@@ 16940,7 16983,7 @@ func (ec *executionContext) fieldContext_Query_getDomains(ctx context.Context, f
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field_Query_getDomains_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
- return
+ return fc, err
}
return fc, nil
}
@@ 17047,7 17090,7 @@ func (ec *executionContext) fieldContext_Query_getDomain(ctx context.Context, fi
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field_Query_getDomain_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
- return
+ return fc, err
}
return fc, nil
}
@@ 17136,7 17179,7 @@ func (ec *executionContext) fieldContext_Query_getLinkShorts(ctx context.Context
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field_Query_getLinkShorts_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
- return
+ return fc, err
}
return fc, nil
}
@@ 17243,7 17286,7 @@ func (ec *executionContext) fieldContext_Query_getLinkShort(ctx context.Context,
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field_Query_getLinkShort_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
- return
+ return fc, err
}
return fc, nil
}
@@ 17332,7 17375,7 @@ func (ec *executionContext) fieldContext_Query_getListings(ctx context.Context,
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field_Query_getListings_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
- return
+ return fc, err
}
return fc, nil
}
@@ 17423,7 17466,7 @@ func (ec *executionContext) fieldContext_Query_getListing(ctx context.Context, f
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field_Query_getListing_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
- return
+ return fc, err
}
return fc, nil
}
@@ 17528,7 17571,7 @@ func (ec *executionContext) fieldContext_Query_getListingLink(ctx context.Contex
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field_Query_getListingLink_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
- return
+ return fc, err
}
return fc, nil
}
@@ 17595,7 17638,7 @@ func (ec *executionContext) fieldContext_Query_getQRList(ctx context.Context, fi
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field_Query_getQRList_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
- return
+ return fc, err
}
return fc, nil
}
@@ 17698,7 17741,7 @@ func (ec *executionContext) fieldContext_Query_getQRDetail(ctx context.Context,
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field_Query_getQRDetail_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
- return
+ return fc, err
}
return fc, nil
}
@@ 17799,7 17842,7 @@ func (ec *executionContext) fieldContext_Query_analytics(ctx context.Context, fi
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field_Query_analytics_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
- return
+ return fc, err
}
return fc, nil
}
@@ 17888,7 17931,7 @@ func (ec *executionContext) fieldContext_Query_getFeed(ctx context.Context, fiel
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field_Query_getFeed_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
- return
+ return fc, err
}
return fc, nil
}
@@ 17952,7 17995,7 @@ func (ec *executionContext) _Query_getFeedFollowing(ctx context.Context, field g
return ec.marshalNOrganization2ᚕᚖlinksᚋmodelsᚐOrganizationᚄ(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Query_getFeedFollowing(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Query_getFeedFollowing(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Query",
Field: field,
@@ 18067,7 18110,7 @@ func (ec *executionContext) fieldContext_Query_getAdminOrganizations(ctx context
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field_Query_getAdminOrganizations_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
- return
+ return fc, err
}
return fc, nil
}
@@ 18150,7 18193,7 @@ func (ec *executionContext) fieldContext_Query_getAdminOrgStats(ctx context.Cont
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field_Query_getAdminOrgStats_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
- return
+ return fc, err
}
return fc, nil
}
@@ 18243,7 18286,7 @@ func (ec *executionContext) fieldContext_Query_getAdminBillingStats(ctx context.
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field_Query_getAdminBillingStats_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
- return
+ return fc, err
}
return fc, nil
}
@@ 18324,7 18367,7 @@ func (ec *executionContext) fieldContext_Query_getAdminDomains(ctx context.Conte
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field_Query_getAdminDomains_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
- return
+ return fc, err
}
return fc, nil
}
@@ 18398,7 18441,7 @@ func (ec *executionContext) fieldContext_Query___type(ctx context.Context, field
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field_Query___type_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
- return
+ return fc, err
}
return fc, nil
}
@@ 18431,7 18474,7 @@ func (ec *executionContext) _Query___schema(ctx context.Context, field graphql.C
return ec.marshalO__Schema2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐSchema(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Query___schema(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Query___schema(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Query",
Field: field,
@@ 18489,7 18532,7 @@ func (ec *executionContext) _RegisterInvitation_email(ctx context.Context, field
return ec.marshalNString2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_RegisterInvitation_email(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_RegisterInvitation_email(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "RegisterInvitation",
Field: field,
@@ 18530,7 18573,7 @@ func (ec *executionContext) _SocialLinks_facebook(ctx context.Context, field gra
return ec.marshalOString2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_SocialLinks_facebook(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_SocialLinks_facebook(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "SocialLinks",
Field: field,
@@ 18571,7 18614,7 @@ func (ec *executionContext) _SocialLinks_instagram(ctx context.Context, field gr
return ec.marshalOString2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_SocialLinks_instagram(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_SocialLinks_instagram(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "SocialLinks",
Field: field,
@@ 18612,7 18655,7 @@ func (ec *executionContext) _SocialLinks_twitter(ctx context.Context, field grap
return ec.marshalOString2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_SocialLinks_twitter(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_SocialLinks_twitter(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "SocialLinks",
Field: field,
@@ 18653,7 18696,7 @@ func (ec *executionContext) _SocialLinks_tiktok(ctx context.Context, field graph
return ec.marshalOString2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_SocialLinks_tiktok(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_SocialLinks_tiktok(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "SocialLinks",
Field: field,
@@ 18694,7 18737,7 @@ func (ec *executionContext) _SocialLinks_youtube(ctx context.Context, field grap
return ec.marshalOString2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_SocialLinks_youtube(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_SocialLinks_youtube(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "SocialLinks",
Field: field,
@@ 18738,7 18781,7 @@ func (ec *executionContext) _Tag_id(ctx context.Context, field graphql.Collected
return ec.marshalNInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Tag_id(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Tag_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Tag",
Field: field,
@@ 18782,7 18825,7 @@ func (ec *executionContext) _Tag_name(ctx context.Context, field graphql.Collect
return ec.marshalNString2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Tag_name(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Tag_name(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Tag",
Field: field,
@@ 18826,7 18869,7 @@ func (ec *executionContext) _Tag_slug(ctx context.Context, field graphql.Collect
return ec.marshalNString2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Tag_slug(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Tag_slug(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Tag",
Field: field,
@@ 18870,7 18913,7 @@ func (ec *executionContext) _Tag_createdOn(ctx context.Context, field graphql.Co
return ec.marshalNTime2timeᚐTime(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Tag_createdOn(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Tag_createdOn(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Tag",
Field: field,
@@ 18914,7 18957,7 @@ func (ec *executionContext) _User_id(ctx context.Context, field graphql.Collecte
return ec.marshalNInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_User_id(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_User_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "User",
Field: field,
@@ 18958,7 19001,7 @@ func (ec *executionContext) _User_name(ctx context.Context, field graphql.Collec
return ec.marshalNString2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_User_name(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_User_name(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "User",
Field: field,
@@ 19002,7 19045,7 @@ func (ec *executionContext) _User_email(ctx context.Context, field graphql.Colle
return ec.marshalNString2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_User_email(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_User_email(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "User",
Field: field,
@@ 19074,7 19117,7 @@ func (ec *executionContext) _User_createdOn(ctx context.Context, field graphql.C
return ec.marshalNTime2timeᚐTime(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_User_createdOn(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_User_createdOn(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "User",
Field: field,
@@ 19146,7 19189,7 @@ func (ec *executionContext) _User_isEmailVerified(ctx context.Context, field gra
return ec.marshalNBoolean2bool(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_User_isEmailVerified(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_User_isEmailVerified(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "User",
Field: field,
@@ 19218,7 19261,7 @@ func (ec *executionContext) _User_isLocked(ctx context.Context, field graphql.Co
return ec.marshalNBoolean2bool(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_User_isLocked(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_User_isLocked(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "User",
Field: field,
@@ 19290,7 19333,7 @@ func (ec *executionContext) _User_lockReason(ctx context.Context, field graphql.
return ec.marshalNString2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_User_lockReason(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_User_lockReason(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "User",
Field: field,
@@ 19334,7 19377,7 @@ func (ec *executionContext) _UserCursor_result(ctx context.Context, field graphq
return ec.marshalNUser2ᚕᚖlinksᚋmodelsᚐUser(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_UserCursor_result(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_UserCursor_result(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "UserCursor",
Field: field,
@@ 19391,7 19434,7 @@ func (ec *executionContext) _UserCursor_pageInfo(ctx context.Context, field grap
return ec.marshalOPageInfo2ᚖlinksᚋapiᚋgraphᚋmodelᚐPageInfo(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_UserCursor_pageInfo(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_UserCursor_pageInfo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "UserCursor",
Field: field,
@@ 19443,7 19486,7 @@ func (ec *executionContext) _Version_major(ctx context.Context, field graphql.Co
return ec.marshalNInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Version_major(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Version_major(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Version",
Field: field,
@@ 19487,7 19530,7 @@ func (ec *executionContext) _Version_minor(ctx context.Context, field graphql.Co
return ec.marshalNInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Version_minor(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Version_minor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Version",
Field: field,
@@ 19531,7 19574,7 @@ func (ec *executionContext) _Version_patch(ctx context.Context, field graphql.Co
return ec.marshalNInt2int(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Version_patch(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Version_patch(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Version",
Field: field,
@@ 19572,7 19615,7 @@ func (ec *executionContext) _Version_deprecationDate(ctx context.Context, field
return ec.marshalOTime2ᚖtimeᚐTime(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext_Version_deprecationDate(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext_Version_deprecationDate(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "Version",
Field: field,
@@ 19616,7 19659,7 @@ func (ec *executionContext) ___Directive_name(ctx context.Context, field graphql
return ec.marshalNString2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext___Directive_name(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext___Directive_name(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "__Directive",
Field: field,
@@ 19657,7 19700,7 @@ func (ec *executionContext) ___Directive_description(ctx context.Context, field
return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext___Directive_description(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext___Directive_description(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "__Directive",
Field: field,
@@ 19701,7 19744,7 @@ func (ec *executionContext) ___Directive_locations(ctx context.Context, field gr
return ec.marshalN__DirectiveLocation2ᚕstringᚄ(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext___Directive_locations(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext___Directive_locations(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "__Directive",
Field: field,
@@ 19745,7 19788,7 @@ func (ec *executionContext) ___Directive_args(ctx context.Context, field graphql
return ec.marshalN__InputValue2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValueᚄ(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext___Directive_args(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext___Directive_args(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "__Directive",
Field: field,
@@ 19799,7 19842,7 @@ func (ec *executionContext) ___Directive_isRepeatable(ctx context.Context, field
return ec.marshalNBoolean2bool(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext___Directive_isRepeatable(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext___Directive_isRepeatable(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "__Directive",
Field: field,
@@ 19843,7 19886,7 @@ func (ec *executionContext) ___EnumValue_name(ctx context.Context, field graphql
return ec.marshalNString2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext___EnumValue_name(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext___EnumValue_name(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "__EnumValue",
Field: field,
@@ 19884,7 19927,7 @@ func (ec *executionContext) ___EnumValue_description(ctx context.Context, field
return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext___EnumValue_description(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext___EnumValue_description(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "__EnumValue",
Field: field,
@@ 19928,7 19971,7 @@ func (ec *executionContext) ___EnumValue_isDeprecated(ctx context.Context, field
return ec.marshalNBoolean2bool(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext___EnumValue_isDeprecated(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext___EnumValue_isDeprecated(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "__EnumValue",
Field: field,
@@ 19969,7 20012,7 @@ func (ec *executionContext) ___EnumValue_deprecationReason(ctx context.Context,
return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext___EnumValue_deprecationReason(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext___EnumValue_deprecationReason(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "__EnumValue",
Field: field,
@@ 20013,7 20056,7 @@ func (ec *executionContext) ___Field_name(ctx context.Context, field graphql.Col
return ec.marshalNString2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext___Field_name(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext___Field_name(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "__Field",
Field: field,
@@ 20054,7 20097,7 @@ func (ec *executionContext) ___Field_description(ctx context.Context, field grap
return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext___Field_description(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext___Field_description(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "__Field",
Field: field,
@@ 20098,7 20141,7 @@ func (ec *executionContext) ___Field_args(ctx context.Context, field graphql.Col
return ec.marshalN__InputValue2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValueᚄ(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext___Field_args(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext___Field_args(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "__Field",
Field: field,
@@ 20152,7 20195,7 @@ func (ec *executionContext) ___Field_type(ctx context.Context, field graphql.Col
return ec.marshalN__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext___Field_type(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext___Field_type(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "__Field",
Field: field,
@@ 20218,7 20261,7 @@ func (ec *executionContext) ___Field_isDeprecated(ctx context.Context, field gra
return ec.marshalNBoolean2bool(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext___Field_isDeprecated(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext___Field_isDeprecated(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "__Field",
Field: field,
@@ 20259,7 20302,7 @@ func (ec *executionContext) ___Field_deprecationReason(ctx context.Context, fiel
return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext___Field_deprecationReason(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext___Field_deprecationReason(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "__Field",
Field: field,
@@ 20303,7 20346,7 @@ func (ec *executionContext) ___InputValue_name(ctx context.Context, field graphq
return ec.marshalNString2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext___InputValue_name(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext___InputValue_name(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "__InputValue",
Field: field,
@@ 20344,7 20387,7 @@ func (ec *executionContext) ___InputValue_description(ctx context.Context, field
return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext___InputValue_description(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext___InputValue_description(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "__InputValue",
Field: field,
@@ 20388,7 20431,7 @@ func (ec *executionContext) ___InputValue_type(ctx context.Context, field graphq
return ec.marshalN__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext___InputValue_type(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext___InputValue_type(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "__InputValue",
Field: field,
@@ 20451,7 20494,7 @@ func (ec *executionContext) ___InputValue_defaultValue(ctx context.Context, fiel
return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext___InputValue_defaultValue(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext___InputValue_defaultValue(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "__InputValue",
Field: field,
@@ 20492,7 20535,7 @@ func (ec *executionContext) ___Schema_description(ctx context.Context, field gra
return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext___Schema_description(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext___Schema_description(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "__Schema",
Field: field,
@@ 20536,7 20579,7 @@ func (ec *executionContext) ___Schema_types(ctx context.Context, field graphql.C
return ec.marshalN__Type2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐTypeᚄ(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext___Schema_types(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext___Schema_types(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "__Schema",
Field: field,
@@ 20602,7 20645,7 @@ func (ec *executionContext) ___Schema_queryType(ctx context.Context, field graph
return ec.marshalN__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext___Schema_queryType(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext___Schema_queryType(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "__Schema",
Field: field,
@@ 20665,7 20708,7 @@ func (ec *executionContext) ___Schema_mutationType(ctx context.Context, field gr
return ec.marshalO__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext___Schema_mutationType(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext___Schema_mutationType(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "__Schema",
Field: field,
@@ 20728,7 20771,7 @@ func (ec *executionContext) ___Schema_subscriptionType(ctx context.Context, fiel
return ec.marshalO__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext___Schema_subscriptionType(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext___Schema_subscriptionType(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "__Schema",
Field: field,
@@ 20794,7 20837,7 @@ func (ec *executionContext) ___Schema_directives(ctx context.Context, field grap
return ec.marshalN__Directive2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐDirectiveᚄ(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext___Schema_directives(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext___Schema_directives(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "__Schema",
Field: field,
@@ 20850,7 20893,7 @@ func (ec *executionContext) ___Type_kind(ctx context.Context, field graphql.Coll
return ec.marshalN__TypeKind2string(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext___Type_kind(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext___Type_kind(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "__Type",
Field: field,
@@ 20891,7 20934,7 @@ func (ec *executionContext) ___Type_name(ctx context.Context, field graphql.Coll
return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext___Type_name(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext___Type_name(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "__Type",
Field: field,
@@ 20932,7 20975,7 @@ func (ec *executionContext) ___Type_description(ctx context.Context, field graph
return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext___Type_description(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext___Type_description(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "__Type",
Field: field,
@@ 21006,7 21049,7 @@ func (ec *executionContext) fieldContext___Type_fields(ctx context.Context, fiel
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field___Type_fields_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
- return
+ return fc, err
}
return fc, nil
}
@@ 21039,7 21082,7 @@ func (ec *executionContext) ___Type_interfaces(ctx context.Context, field graphq
return ec.marshalO__Type2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐTypeᚄ(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext___Type_interfaces(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext___Type_interfaces(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "__Type",
Field: field,
@@ 21102,7 21145,7 @@ func (ec *executionContext) ___Type_possibleTypes(ctx context.Context, field gra
return ec.marshalO__Type2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐTypeᚄ(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext___Type_possibleTypes(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext___Type_possibleTypes(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "__Type",
Field: field,
@@ 21194,7 21237,7 @@ func (ec *executionContext) fieldContext___Type_enumValues(ctx context.Context,
ctx = graphql.WithFieldContext(ctx, fc)
if fc.Args, err = ec.field___Type_enumValues_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
ec.Error(ctx, err)
- return
+ return fc, err
}
return fc, nil
}
@@ 21227,7 21270,7 @@ func (ec *executionContext) ___Type_inputFields(ctx context.Context, field graph
return ec.marshalO__InputValue2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValueᚄ(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext___Type_inputFields(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext___Type_inputFields(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "__Type",
Field: field,
@@ 21278,7 21321,7 @@ func (ec *executionContext) ___Type_ofType(ctx context.Context, field graphql.Co
return ec.marshalO__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext___Type_ofType(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext___Type_ofType(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "__Type",
Field: field,
@@ 21341,7 21384,7 @@ func (ec *executionContext) ___Type_specifiedByURL(ctx context.Context, field gr
return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext___Type_specifiedByURL(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext___Type_specifiedByURL(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "__Type",
Field: field,
@@ 21373,101 21416,89 @@ func (ec *executionContext) unmarshalInputAddListingInput(ctx context.Context, o
}
switch k {
case "title":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("title"))
- it.Title, err = ec.unmarshalNString2string(ctx, v)
+ data, err := ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
+ it.Title = data
case "slug":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("slug"))
- it.Slug, err = ec.unmarshalNString2string(ctx, v)
+ data, err := ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
+ it.Slug = data
case "image":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("image"))
- it.Image, err = ec.unmarshalOUpload2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚐUpload(ctx, v)
+ data, err := ec.unmarshalOUpload2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚐUpload(ctx, v)
if err != nil {
return it, err
}
+ it.Image = data
case "domainId":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("domainId"))
- it.DomainID, err = ec.unmarshalNInt2int(ctx, v)
+ data, err := ec.unmarshalNInt2int(ctx, v)
if err != nil {
return it, err
}
+ it.DomainID = data
case "isDefault":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("isDefault"))
- it.IsDefault, err = ec.unmarshalNBoolean2bool(ctx, v)
+ data, err := ec.unmarshalNBoolean2bool(ctx, v)
if err != nil {
return it, err
}
+ it.IsDefault = data
case "orgSlug":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("orgSlug"))
- it.OrgSlug, err = ec.unmarshalNString2string(ctx, v)
+ data, err := ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
+ it.OrgSlug = data
case "tags":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("tags"))
- it.Tags, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.Tags = data
case "facebook":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("facebook"))
- it.Facebook, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.Facebook = data
case "twitter":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("twitter"))
- it.Twitter, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.Twitter = data
case "tiktok":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("tiktok"))
- it.Tiktok, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.Tiktok = data
case "youtube":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("youtube"))
- it.Youtube, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.Youtube = data
case "instagram":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("instagram"))
- it.Instagram, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.Instagram = data
}
}
@@ 21489,45 21520,40 @@ func (ec *executionContext) unmarshalInputAddListingLinkInput(ctx context.Contex
}
switch k {
case "title":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("title"))
- it.Title, err = ec.unmarshalNString2string(ctx, v)
+ data, err := ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
+ it.Title = data
case "listingSlug":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("listingSlug"))
- it.ListingSlug, err = ec.unmarshalNString2string(ctx, v)
+ data, err := ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
+ it.ListingSlug = data
case "linkOrder":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("linkOrder"))
- it.LinkOrder, err = ec.unmarshalNInt2int(ctx, v)
+ data, err := ec.unmarshalNInt2int(ctx, v)
if err != nil {
return it, err
}
+ it.LinkOrder = data
case "url":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("url"))
- it.URL, err = ec.unmarshalNString2string(ctx, v)
+ data, err := ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
+ it.URL = data
case "description":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("description"))
- it.Description, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.Description = data
}
}
@@ 21549,45 21575,40 @@ func (ec *executionContext) unmarshalInputAddQRCodeInput(ctx context.Context, ob
}
switch k {
case "title":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("title"))
- it.Title, err = ec.unmarshalNString2string(ctx, v)
+ data, err := ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
+ it.Title = data
case "orgSlug":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("orgSlug"))
- it.OrgSlug, err = ec.unmarshalNString2string(ctx, v)
+ data, err := ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
+ it.OrgSlug = data
case "codeType":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("codeType"))
- it.CodeType, err = ec.unmarshalNInt2int(ctx, v)
+ data, err := ec.unmarshalNInt2int(ctx, v)
if err != nil {
return it, err
}
+ it.CodeType = data
case "elementId":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("elementId"))
- it.ElementID, err = ec.unmarshalNInt2int(ctx, v)
+ data, err := ec.unmarshalNInt2int(ctx, v)
if err != nil {
return it, err
}
+ it.ElementID = data
case "image":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("image"))
- it.Image, err = ec.unmarshalOUpload2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚐUpload(ctx, v)
+ data, err := ec.unmarshalOUpload2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚐUpload(ctx, v)
if err != nil {
return it, err
}
+ it.Image = data
}
}
@@ 21609,37 21630,33 @@ func (ec *executionContext) unmarshalInputAdminBillingInput(ctx context.Context,
}
switch k {
case "orgSlug":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("orgSlug"))
- it.OrgSlug, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.OrgSlug = data
case "interval":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("interval"))
- it.Interval, err = ec.unmarshalOInt2ᚖint(ctx, v)
+ data, err := ec.unmarshalOInt2ᚖint(ctx, v)
if err != nil {
return it, err
}
+ it.Interval = data
case "dateStart":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("dateStart"))
- it.DateStart, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.DateStart = data
case "dateEnd":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("dateEnd"))
- it.DateEnd, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.DateEnd = data
}
}
@@ 21661,69 21678,61 @@ func (ec *executionContext) unmarshalInputAdminDomainInput(ctx context.Context,
}
switch k {
case "name":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name"))
- it.Name, err = ec.unmarshalNString2string(ctx, v)
+ data, err := ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
+ it.Name = data
case "lookupName":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("lookupName"))
- it.LookupName, err = ec.unmarshalNString2string(ctx, v)
+ data, err := ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
+ it.LookupName = data
case "orgSlug":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("orgSlug"))
- it.OrgSlug, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.OrgSlug = data
case "service":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("service"))
- it.Service, err = ec.unmarshalNInt2int(ctx, v)
+ data, err := ec.unmarshalNInt2int(ctx, v)
if err != nil {
return it, err
}
+ it.Service = data
case "level":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("level"))
- it.Level, err = ec.unmarshalNInt2int(ctx, v)
+ data, err := ec.unmarshalNInt2int(ctx, v)
if err != nil {
return it, err
}
+ it.Level = data
case "status":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("status"))
- it.Status, err = ec.unmarshalNInt2int(ctx, v)
+ data, err := ec.unmarshalNInt2int(ctx, v)
if err != nil {
return it, err
}
+ it.Status = data
case "isActive":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("isActive"))
- it.IsActive, err = ec.unmarshalNBoolean2bool(ctx, v)
+ data, err := ec.unmarshalNBoolean2bool(ctx, v)
if err != nil {
return it, err
}
+ it.IsActive = data
case "migrateLinks":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("migrateLinks"))
- it.MigrateLinks, err = ec.unmarshalOBoolean2ᚖbool(ctx, v)
+ data, err := ec.unmarshalOBoolean2ᚖbool(ctx, v)
if err != nil {
return it, err
}
+ it.MigrateLinks = data
}
}
@@ 21745,53 21754,47 @@ func (ec *executionContext) unmarshalInputAnalyticsInput(ctx context.Context, ob
}
switch k {
case "id":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id"))
- it.ID, err = ec.unmarshalNInt2int(ctx, v)
+ data, err := ec.unmarshalNInt2int(ctx, v)
if err != nil {
return it, err
}
+ it.ID = data
case "orgSlug":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("orgSlug"))
- it.OrgSlug, err = ec.unmarshalNString2string(ctx, v)
+ data, err := ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
+ it.OrgSlug = data
case "type":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("type"))
- it.Type, err = ec.unmarshalNString2string(ctx, v)
+ data, err := ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
+ it.Type = data
case "interval":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("interval"))
- it.Interval, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.Interval = data
case "dateStart":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("dateStart"))
- it.DateStart, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.DateStart = data
case "dateEnd":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("dateEnd"))
- it.DateEnd, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.DateEnd = data
}
}
@@ 21813,37 21816,33 @@ func (ec *executionContext) unmarshalInputCompleteRegisterInput(ctx context.Cont
}
switch k {
case "name":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name"))
- it.Name, err = ec.unmarshalNString2string(ctx, v)
+ data, err := ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
+ it.Name = data
case "username":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("username"))
- it.Username, err = ec.unmarshalNString2string(ctx, v)
+ data, err := ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
+ it.Username = data
case "password":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("password"))
- it.Password, err = ec.unmarshalNString2string(ctx, v)
+ data, err := ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
+ it.Password = data
case "key":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("key"))
- it.Key, err = ec.unmarshalNString2string(ctx, v)
+ data, err := ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
+ it.Key = data
}
}
@@ 21865,45 21864,40 @@ func (ec *executionContext) unmarshalInputDomainInput(ctx context.Context, obj i
}
switch k {
case "name":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name"))
- it.Name, err = ec.unmarshalNString2string(ctx, v)
+ data, err := ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
+ it.Name = data
case "lookupName":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("lookupName"))
- it.LookupName, err = ec.unmarshalNString2string(ctx, v)
+ data, err := ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
+ it.LookupName = data
case "orgSlug":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("orgSlug"))
- it.OrgSlug, err = ec.unmarshalNString2string(ctx, v)
+ data, err := ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
+ it.OrgSlug = data
case "service":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("service"))
- it.Service, err = ec.unmarshalNInt2int(ctx, v)
+ data, err := ec.unmarshalNInt2int(ctx, v)
if err != nil {
return it, err
}
+ it.Service = data
case "migrateLinks":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("migrateLinks"))
- it.MigrateLinks, err = ec.unmarshalOBoolean2ᚖbool(ctx, v)
+ data, err := ec.unmarshalOBoolean2ᚖbool(ctx, v)
if err != nil {
return it, err
}
+ it.MigrateLinks = data
}
}
@@ 21925,69 21919,61 @@ func (ec *executionContext) unmarshalInputGetAdminDomainInput(ctx context.Contex
}
switch k {
case "limit":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("limit"))
- it.Limit, err = ec.unmarshalOInt2ᚖint(ctx, v)
+ data, err := ec.unmarshalOInt2ᚖint(ctx, v)
if err != nil {
return it, err
}
+ it.Limit = data
case "after":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("after"))
- it.After, err = ec.unmarshalOCursor2ᚖlinksᚋapiᚋgraphᚋmodelᚐCursor(ctx, v)
+ data, err := ec.unmarshalOCursor2ᚖlinksᚋapiᚋgraphᚋmodelᚐCursor(ctx, v)
if err != nil {
return it, err
}
+ it.After = data
case "before":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("before"))
- it.Before, err = ec.unmarshalOCursor2ᚖlinksᚋapiᚋgraphᚋmodelᚐCursor(ctx, v)
+ data, err := ec.unmarshalOCursor2ᚖlinksᚋapiᚋgraphᚋmodelᚐCursor(ctx, v)
if err != nil {
return it, err
}
+ it.Before = data
case "search":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("search"))
- it.Search, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.Search = data
case "filterLevel":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("filterLevel"))
- it.FilterLevel, err = ec.unmarshalOInt2ᚖint(ctx, v)
+ data, err := ec.unmarshalOInt2ᚖint(ctx, v)
if err != nil {
return it, err
}
+ it.FilterLevel = data
case "filterService":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("filterService"))
- it.FilterService, err = ec.unmarshalOInt2ᚖint(ctx, v)
+ data, err := ec.unmarshalOInt2ᚖint(ctx, v)
if err != nil {
return it, err
}
+ it.FilterService = data
case "filterActive":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("filterActive"))
- it.FilterActive, err = ec.unmarshalOBoolean2ᚖbool(ctx, v)
+ data, err := ec.unmarshalOBoolean2ᚖbool(ctx, v)
if err != nil {
return it, err
}
+ it.FilterActive = data
case "orgSlug":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("orgSlug"))
- it.OrgSlug, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.OrgSlug = data
}
}
@@ 22009,45 21995,40 @@ func (ec *executionContext) unmarshalInputGetAdminOrganizationsInput(ctx context
}
switch k {
case "limit":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("limit"))
- it.Limit, err = ec.unmarshalOInt2ᚖint(ctx, v)
+ data, err := ec.unmarshalOInt2ᚖint(ctx, v)
if err != nil {
return it, err
}
+ it.Limit = data
case "after":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("after"))
- it.After, err = ec.unmarshalOCursor2ᚖlinksᚋapiᚋgraphᚋmodelᚐCursor(ctx, v)
+ data, err := ec.unmarshalOCursor2ᚖlinksᚋapiᚋgraphᚋmodelᚐCursor(ctx, v)
if err != nil {
return it, err
}
+ it.After = data
case "before":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("before"))
- it.Before, err = ec.unmarshalOCursor2ᚖlinksᚋapiᚋgraphᚋmodelᚐCursor(ctx, v)
+ data, err := ec.unmarshalOCursor2ᚖlinksᚋapiᚋgraphᚋmodelᚐCursor(ctx, v)
if err != nil {
return it, err
}
+ it.Before = data
case "search":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("search"))
- it.Search, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.Search = data
case "ownerId":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("ownerId"))
- it.OwnerID, err = ec.unmarshalOInt2ᚖint(ctx, v)
+ data, err := ec.unmarshalOInt2ᚖint(ctx, v)
if err != nil {
return it, err
}
+ it.OwnerID = data
}
}
@@ 22069,53 22050,47 @@ func (ec *executionContext) unmarshalInputGetFeedInput(ctx context.Context, obj
}
switch k {
case "limit":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("limit"))
- it.Limit, err = ec.unmarshalOInt2ᚖint(ctx, v)
+ data, err := ec.unmarshalOInt2ᚖint(ctx, v)
if err != nil {
return it, err
}
+ it.Limit = data
case "after":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("after"))
- it.After, err = ec.unmarshalOCursor2ᚖlinksᚋapiᚋgraphᚋmodelᚐCursor(ctx, v)
+ data, err := ec.unmarshalOCursor2ᚖlinksᚋapiᚋgraphᚋmodelᚐCursor(ctx, v)
if err != nil {
return it, err
}
+ it.After = data
case "before":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("before"))
- it.Before, err = ec.unmarshalOCursor2ᚖlinksᚋapiᚋgraphᚋmodelᚐCursor(ctx, v)
+ data, err := ec.unmarshalOCursor2ᚖlinksᚋapiᚋgraphᚋmodelᚐCursor(ctx, v)
if err != nil {
return it, err
}
+ it.Before = data
case "tag":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("tag"))
- it.Tag, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.Tag = data
case "excludeTag":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("excludeTag"))
- it.ExcludeTag, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.ExcludeTag = data
case "search":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("search"))
- it.Search, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.Search = data
}
}
@@ 22137,69 22112,61 @@ func (ec *executionContext) unmarshalInputGetLinkInput(ctx context.Context, obj
}
switch k {
case "orgSlug":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("orgSlug"))
- it.OrgSlug, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.OrgSlug = data
case "limit":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("limit"))
- it.Limit, err = ec.unmarshalOInt2ᚖint(ctx, v)
+ data, err := ec.unmarshalOInt2ᚖint(ctx, v)
if err != nil {
return it, err
}
+ it.Limit = data
case "after":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("after"))
- it.After, err = ec.unmarshalOCursor2ᚖlinksᚋapiᚋgraphᚋmodelᚐCursor(ctx, v)
+ data, err := ec.unmarshalOCursor2ᚖlinksᚋapiᚋgraphᚋmodelᚐCursor(ctx, v)
if err != nil {
return it, err
}
+ it.After = data
case "before":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("before"))
- it.Before, err = ec.unmarshalOCursor2ᚖlinksᚋapiᚋgraphᚋmodelᚐCursor(ctx, v)
+ data, err := ec.unmarshalOCursor2ᚖlinksᚋapiᚋgraphᚋmodelᚐCursor(ctx, v)
if err != nil {
return it, err
}
+ it.Before = data
case "tag":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("tag"))
- it.Tag, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.Tag = data
case "excludeTag":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("excludeTag"))
- it.ExcludeTag, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.ExcludeTag = data
case "search":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("search"))
- it.Search, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.Search = data
case "filter":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("filter"))
- it.Filter, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.Filter = data
}
}
@@ 22221,53 22188,47 @@ func (ec *executionContext) unmarshalInputGetLinkShortInput(ctx context.Context,
}
switch k {
case "orgSlug":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("orgSlug"))
- it.OrgSlug, err = ec.unmarshalNString2string(ctx, v)
+ data, err := ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
+ it.OrgSlug = data
case "limit":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("limit"))
- it.Limit, err = ec.unmarshalOInt2ᚖint(ctx, v)
+ data, err := ec.unmarshalOInt2ᚖint(ctx, v)
if err != nil {
return it, err
}
+ it.Limit = data
case "after":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("after"))
- it.After, err = ec.unmarshalOCursor2ᚖlinksᚋapiᚋgraphᚋmodelᚐCursor(ctx, v)
+ data, err := ec.unmarshalOCursor2ᚖlinksᚋapiᚋgraphᚋmodelᚐCursor(ctx, v)
if err != nil {
return it, err
}
+ it.After = data
case "before":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("before"))
- it.Before, err = ec.unmarshalOCursor2ᚖlinksᚋapiᚋgraphᚋmodelᚐCursor(ctx, v)
+ data, err := ec.unmarshalOCursor2ᚖlinksᚋapiᚋgraphᚋmodelᚐCursor(ctx, v)
if err != nil {
return it, err
}
+ it.Before = data
case "tag":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("tag"))
- it.Tag, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.Tag = data
case "excludeTag":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("excludeTag"))
- it.ExcludeTag, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.ExcludeTag = data
}
}
@@ 22289,45 22250,40 @@ func (ec *executionContext) unmarshalInputGetListingDetailInput(ctx context.Cont
}
switch k {
case "domainId":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("domainId"))
- it.DomainID, err = ec.unmarshalNInt2int(ctx, v)
+ data, err := ec.unmarshalNInt2int(ctx, v)
if err != nil {
return it, err
}
+ it.DomainID = data
case "slug":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("slug"))
- it.Slug, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.Slug = data
case "limit":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("limit"))
- it.Limit, err = ec.unmarshalOInt2ᚖint(ctx, v)
+ data, err := ec.unmarshalOInt2ᚖint(ctx, v)
if err != nil {
return it, err
}
+ it.Limit = data
case "after":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("after"))
- it.After, err = ec.unmarshalOCursor2ᚖlinksᚋapiᚋgraphᚋmodelᚐCursor(ctx, v)
+ data, err := ec.unmarshalOCursor2ᚖlinksᚋapiᚋgraphᚋmodelᚐCursor(ctx, v)
if err != nil {
return it, err
}
+ it.After = data
case "before":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("before"))
- it.Before, err = ec.unmarshalOCursor2ᚖlinksᚋapiᚋgraphᚋmodelᚐCursor(ctx, v)
+ data, err := ec.unmarshalOCursor2ᚖlinksᚋapiᚋgraphᚋmodelᚐCursor(ctx, v)
if err != nil {
return it, err
}
+ it.Before = data
}
}
@@ 22349,53 22305,47 @@ func (ec *executionContext) unmarshalInputGetListingInput(ctx context.Context, o
}
switch k {
case "orgSlug":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("orgSlug"))
- it.OrgSlug, err = ec.unmarshalNString2string(ctx, v)
+ data, err := ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
+ it.OrgSlug = data
case "limit":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("limit"))
- it.Limit, err = ec.unmarshalOInt2ᚖint(ctx, v)
+ data, err := ec.unmarshalOInt2ᚖint(ctx, v)
if err != nil {
return it, err
}
+ it.Limit = data
case "after":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("after"))
- it.After, err = ec.unmarshalOCursor2ᚖlinksᚋapiᚋgraphᚋmodelᚐCursor(ctx, v)
+ data, err := ec.unmarshalOCursor2ᚖlinksᚋapiᚋgraphᚋmodelᚐCursor(ctx, v)
if err != nil {
return it, err
}
+ it.After = data
case "before":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("before"))
- it.Before, err = ec.unmarshalOCursor2ᚖlinksᚋapiᚋgraphᚋmodelᚐCursor(ctx, v)
+ data, err := ec.unmarshalOCursor2ᚖlinksᚋapiᚋgraphᚋmodelᚐCursor(ctx, v)
if err != nil {
return it, err
}
+ it.Before = data
case "tag":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("tag"))
- it.Tag, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.Tag = data
case "excludeTag":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("excludeTag"))
- it.ExcludeTag, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.ExcludeTag = data
}
}
@@ 22417,37 22367,33 @@ func (ec *executionContext) unmarshalInputGetOrganizationsInput(ctx context.Cont
}
switch k {
case "limit":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("limit"))
- it.Limit, err = ec.unmarshalOInt2ᚖint(ctx, v)
+ data, err := ec.unmarshalOInt2ᚖint(ctx, v)
if err != nil {
return it, err
}
+ it.Limit = data
case "after":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("after"))
- it.After, err = ec.unmarshalOCursor2ᚖlinksᚋapiᚋgraphᚋmodelᚐCursor(ctx, v)
+ data, err := ec.unmarshalOCursor2ᚖlinksᚋapiᚋgraphᚋmodelᚐCursor(ctx, v)
if err != nil {
return it, err
}
+ it.After = data
case "before":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("before"))
- it.Before, err = ec.unmarshalOCursor2ᚖlinksᚋapiᚋgraphᚋmodelᚐCursor(ctx, v)
+ data, err := ec.unmarshalOCursor2ᚖlinksᚋapiᚋgraphᚋmodelᚐCursor(ctx, v)
if err != nil {
return it, err
}
+ it.Before = data
case "search":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("search"))
- it.Search, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.Search = data
}
}
@@ 22469,69 22415,61 @@ func (ec *executionContext) unmarshalInputGetPaymentInput(ctx context.Context, o
}
switch k {
case "orgSlug":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("orgSlug"))
- it.OrgSlug, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.OrgSlug = data
case "limit":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("limit"))
- it.Limit, err = ec.unmarshalOInt2ᚖint(ctx, v)
+ data, err := ec.unmarshalOInt2ᚖint(ctx, v)
if err != nil {
return it, err
}
+ it.Limit = data
case "after":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("after"))
- it.After, err = ec.unmarshalOCursor2ᚖlinksᚋapiᚋgraphᚋmodelᚐCursor(ctx, v)
+ data, err := ec.unmarshalOCursor2ᚖlinksᚋapiᚋgraphᚋmodelᚐCursor(ctx, v)
if err != nil {
return it, err
}
+ it.After = data
case "before":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("before"))
- it.Before, err = ec.unmarshalOCursor2ᚖlinksᚋapiᚋgraphᚋmodelᚐCursor(ctx, v)
+ data, err := ec.unmarshalOCursor2ᚖlinksᚋapiᚋgraphᚋmodelᚐCursor(ctx, v)
if err != nil {
return it, err
}
+ it.Before = data
case "interval":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("interval"))
- it.Interval, err = ec.unmarshalOInt2ᚖint(ctx, v)
+ data, err := ec.unmarshalOInt2ᚖint(ctx, v)
if err != nil {
return it, err
}
+ it.Interval = data
case "dateStart":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("dateStart"))
- it.DateStart, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.DateStart = data
case "dateEnd":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("dateEnd"))
- it.DateEnd, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.DateEnd = data
case "filter":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("filter"))
- it.Filter, err = ec.unmarshalOBoolean2ᚖbool(ctx, v)
+ data, err := ec.unmarshalOBoolean2ᚖbool(ctx, v)
if err != nil {
return it, err
}
+ it.Filter = data
}
}
@@ 22553,37 22491,33 @@ func (ec *executionContext) unmarshalInputGetUserInput(ctx context.Context, obj
}
switch k {
case "limit":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("limit"))
- it.Limit, err = ec.unmarshalOInt2ᚖint(ctx, v)
+ data, err := ec.unmarshalOInt2ᚖint(ctx, v)
if err != nil {
return it, err
}
+ it.Limit = data
case "after":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("after"))
- it.After, err = ec.unmarshalOCursor2ᚖlinksᚋapiᚋgraphᚋmodelᚐCursor(ctx, v)
+ data, err := ec.unmarshalOCursor2ᚖlinksᚋapiᚋgraphᚋmodelᚐCursor(ctx, v)
if err != nil {
return it, err
}
+ it.After = data
case "before":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("before"))
- it.Before, err = ec.unmarshalOCursor2ᚖlinksᚋapiᚋgraphᚋmodelᚐCursor(ctx, v)
+ data, err := ec.unmarshalOCursor2ᚖlinksᚋapiᚋgraphᚋmodelᚐCursor(ctx, v)
if err != nil {
return it, err
}
+ it.Before = data
case "search":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("search"))
- it.Search, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.Search = data
}
}
@@ 22605,77 22539,68 @@ func (ec *executionContext) unmarshalInputLinkInput(ctx context.Context, obj int
}
switch k {
case "url":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("url"))
- it.URL, err = ec.unmarshalNString2string(ctx, v)
+ data, err := ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
+ it.URL = data
case "description":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("description"))
- it.Description, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.Description = data
case "visibility":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("visibility"))
- it.Visibility, err = ec.unmarshalOInt2ᚖint(ctx, v)
+ data, err := ec.unmarshalOInt2ᚖint(ctx, v)
if err != nil {
return it, err
}
+ it.Visibility = data
case "unread":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("unread"))
- it.Unread, err = ec.unmarshalNBoolean2bool(ctx, v)
+ data, err := ec.unmarshalNBoolean2bool(ctx, v)
if err != nil {
return it, err
}
+ it.Unread = data
case "starred":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("starred"))
- it.Starred, err = ec.unmarshalNBoolean2bool(ctx, v)
+ data, err := ec.unmarshalNBoolean2bool(ctx, v)
if err != nil {
return it, err
}
+ it.Starred = data
case "archive":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("archive"))
- it.Archive, err = ec.unmarshalNBoolean2bool(ctx, v)
+ data, err := ec.unmarshalNBoolean2bool(ctx, v)
if err != nil {
return it, err
}
+ it.Archive = data
case "orgSlug":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("orgSlug"))
- it.OrgSlug, err = ec.unmarshalNString2string(ctx, v)
+ data, err := ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
+ it.OrgSlug = data
case "title":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("title"))
- it.Title, err = ec.unmarshalNString2string(ctx, v)
+ data, err := ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
+ it.Title = data
case "tags":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("tags"))
- it.Tags, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.Tags = data
}
}
@@ 22697,53 22622,47 @@ func (ec *executionContext) unmarshalInputLinkShortInput(ctx context.Context, ob
}
switch k {
case "url":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("url"))
- it.URL, err = ec.unmarshalNString2string(ctx, v)
+ data, err := ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
+ it.URL = data
case "title":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("title"))
- it.Title, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.Title = data
case "shortCode":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("shortCode"))
- it.ShortCode, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.ShortCode = data
case "domainId":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("domainId"))
- it.DomainID, err = ec.unmarshalNInt2int(ctx, v)
+ data, err := ec.unmarshalNInt2int(ctx, v)
if err != nil {
return it, err
}
+ it.DomainID = data
case "orgSlug":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("orgSlug"))
- it.OrgSlug, err = ec.unmarshalNString2string(ctx, v)
+ data, err := ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
+ it.OrgSlug = data
case "tags":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("tags"))
- it.Tags, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.Tags = data
}
}
@@ 22765,29 22684,26 @@ func (ec *executionContext) unmarshalInputMemberInput(ctx context.Context, obj i
}
switch k {
case "orgSlug":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("orgSlug"))
- it.OrgSlug, err = ec.unmarshalNString2string(ctx, v)
+ data, err := ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
+ it.OrgSlug = data
case "email":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("email"))
- it.Email, err = ec.unmarshalNString2string(ctx, v)
+ data, err := ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
+ it.Email = data
case "permission":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("permission"))
- it.Permission, err = ec.unmarshalNInt2int(ctx, v)
+ data, err := ec.unmarshalNInt2int(ctx, v)
if err != nil {
return it, err
}
+ it.Permission = data
}
}
@@ 22809,53 22725,47 @@ func (ec *executionContext) unmarshalInputNoteInput(ctx context.Context, obj int
}
switch k {
case "title":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("title"))
- it.Title, err = ec.unmarshalNString2string(ctx, v)
+ data, err := ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
+ it.Title = data
case "description":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("description"))
- it.Description, err = ec.unmarshalNString2string(ctx, v)
+ data, err := ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
+ it.Description = data
case "visibility":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("visibility"))
- it.Visibility, err = ec.unmarshalNInt2int(ctx, v)
+ data, err := ec.unmarshalNInt2int(ctx, v)
if err != nil {
return it, err
}
+ it.Visibility = data
case "tags":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("tags"))
- it.Tags, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.Tags = data
case "starred":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("starred"))
- it.Starred, err = ec.unmarshalNBoolean2bool(ctx, v)
+ data, err := ec.unmarshalNBoolean2bool(ctx, v)
if err != nil {
return it, err
}
+ it.Starred = data
case "orgSlug":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("orgSlug"))
- it.OrgSlug, err = ec.unmarshalNString2string(ctx, v)
+ data, err := ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
+ it.OrgSlug = data
}
}
@@ 22877,29 22787,26 @@ func (ec *executionContext) unmarshalInputOrganizationInput(ctx context.Context,
}
switch k {
case "name":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name"))
- it.Name, err = ec.unmarshalNString2string(ctx, v)
+ data, err := ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
+ it.Name = data
case "orgUsername":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("orgUsername"))
- it.OrgUsername, err = ec.unmarshalNString2string(ctx, v)
+ data, err := ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
+ it.OrgUsername = data
case "image":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("image"))
- it.Image, err = ec.unmarshalOUpload2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚐUpload(ctx, v)
+ data, err := ec.unmarshalOUpload2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚐUpload(ctx, v)
if err != nil {
return it, err
}
+ it.Image = data
}
}
@@ 22921,29 22828,26 @@ func (ec *executionContext) unmarshalInputPopularLinksInput(ctx context.Context,
}
switch k {
case "tag":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("tag"))
- it.Tag, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.Tag = data
case "search":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("search"))
- it.Search, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.Search = data
case "limit":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("limit"))
- it.Limit, err = ec.unmarshalOInt2ᚖint(ctx, v)
+ data, err := ec.unmarshalOInt2ᚖint(ctx, v)
if err != nil {
return it, err
}
+ it.Limit = data
}
}
@@ 22965,45 22869,40 @@ func (ec *executionContext) unmarshalInputProfileInput(ctx context.Context, obj
}
switch k {
case "name":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name"))
- it.Name, err = ec.unmarshalNString2string(ctx, v)
+ data, err := ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
+ it.Name = data
case "defaultLang":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("defaultLang"))
- it.DefaultLang, err = ec.unmarshalNString2string(ctx, v)
+ data, err := ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
+ it.DefaultLang = data
case "timezone":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("timezone"))
- it.Timezone, err = ec.unmarshalNString2string(ctx, v)
+ data, err := ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
+ it.Timezone = data
case "image":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("image"))
- it.Image, err = ec.unmarshalOUpload2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚐUpload(ctx, v)
+ data, err := ec.unmarshalOUpload2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚐUpload(ctx, v)
if err != nil {
return it, err
}
+ it.Image = data
case "deleteImg":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("deleteImg"))
- it.DeleteImg, err = ec.unmarshalOBoolean2ᚖbool(ctx, v)
+ data, err := ec.unmarshalOBoolean2ᚖbool(ctx, v)
if err != nil {
return it, err
}
+ it.DeleteImg = data
}
}
@@ 23025,45 22924,40 @@ func (ec *executionContext) unmarshalInputRegisterInput(ctx context.Context, obj
}
switch k {
case "name":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name"))
- it.Name, err = ec.unmarshalNString2string(ctx, v)
+ data, err := ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
+ it.Name = data
case "password":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("password"))
- it.Password, err = ec.unmarshalNString2string(ctx, v)
+ data, err := ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
+ it.Password = data
case "email":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("email"))
- it.Email, err = ec.unmarshalNString2string(ctx, v)
+ data, err := ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
+ it.Email = data
case "username":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("username"))
- it.Username, err = ec.unmarshalNString2string(ctx, v)
+ data, err := ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
+ it.Username = data
case "key":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("key"))
- it.Key, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.Key = data
}
}
@@ 23085,77 22979,68 @@ func (ec *executionContext) unmarshalInputUpdateAdminDomainInput(ctx context.Con
}
switch k {
case "id":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id"))
- it.ID, err = ec.unmarshalNInt2int(ctx, v)
+ data, err := ec.unmarshalNInt2int(ctx, v)
if err != nil {
return it, err
}
+ it.ID = data
case "name":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name"))
- it.Name, err = ec.unmarshalNString2string(ctx, v)
+ data, err := ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
+ it.Name = data
case "lookupName":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("lookupName"))
- it.LookupName, err = ec.unmarshalNString2string(ctx, v)
+ data, err := ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
+ it.LookupName = data
case "orgSlug":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("orgSlug"))
- it.OrgSlug, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.OrgSlug = data
case "service":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("service"))
- it.Service, err = ec.unmarshalNInt2int(ctx, v)
+ data, err := ec.unmarshalNInt2int(ctx, v)
if err != nil {
return it, err
}
+ it.Service = data
case "level":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("level"))
- it.Level, err = ec.unmarshalNInt2int(ctx, v)
+ data, err := ec.unmarshalNInt2int(ctx, v)
if err != nil {
return it, err
}
+ it.Level = data
case "status":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("status"))
- it.Status, err = ec.unmarshalNInt2int(ctx, v)
+ data, err := ec.unmarshalNInt2int(ctx, v)
if err != nil {
return it, err
}
+ it.Status = data
case "isActive":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("isActive"))
- it.IsActive, err = ec.unmarshalNBoolean2bool(ctx, v)
+ data, err := ec.unmarshalNBoolean2bool(ctx, v)
if err != nil {
return it, err
}
+ it.IsActive = data
case "migrateLinks":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("migrateLinks"))
- it.MigrateLinks, err = ec.unmarshalOBoolean2ᚖbool(ctx, v)
+ data, err := ec.unmarshalOBoolean2ᚖbool(ctx, v)
if err != nil {
return it, err
}
+ it.MigrateLinks = data
}
}
@@ 23177,69 23062,61 @@ func (ec *executionContext) unmarshalInputUpdateLinkInput(ctx context.Context, o
}
switch k {
case "id":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id"))
- it.ID, err = ec.unmarshalNInt2int(ctx, v)
+ data, err := ec.unmarshalNInt2int(ctx, v)
if err != nil {
return it, err
}
+ it.ID = data
case "title":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("title"))
- it.Title, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.Title = data
case "description":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("description"))
- it.Description, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.Description = data
case "url":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("url"))
- it.URL, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.URL = data
case "visibility":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("visibility"))
- it.Visibility, err = ec.unmarshalOInt2ᚖint(ctx, v)
+ data, err := ec.unmarshalOInt2ᚖint(ctx, v)
if err != nil {
return it, err
}
+ it.Visibility = data
case "unread":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("unread"))
- it.Unread, err = ec.unmarshalOBoolean2ᚖbool(ctx, v)
+ data, err := ec.unmarshalOBoolean2ᚖbool(ctx, v)
if err != nil {
return it, err
}
+ it.Unread = data
case "starred":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("starred"))
- it.Starred, err = ec.unmarshalOBoolean2ᚖbool(ctx, v)
+ data, err := ec.unmarshalOBoolean2ᚖbool(ctx, v)
if err != nil {
return it, err
}
+ it.Starred = data
case "tags":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("tags"))
- it.Tags, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.Tags = data
}
}
@@ 23261,53 23138,47 @@ func (ec *executionContext) unmarshalInputUpdateLinkShortInput(ctx context.Conte
}
switch k {
case "id":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id"))
- it.ID, err = ec.unmarshalNInt2int(ctx, v)
+ data, err := ec.unmarshalNInt2int(ctx, v)
if err != nil {
return it, err
}
+ it.ID = data
case "title":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("title"))
- it.Title, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.Title = data
case "url":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("url"))
- it.URL, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.URL = data
case "domainId":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("domainId"))
- it.DomainID, err = ec.unmarshalOInt2ᚖint(ctx, v)
+ data, err := ec.unmarshalOInt2ᚖint(ctx, v)
if err != nil {
return it, err
}
+ it.DomainID = data
case "shortCode":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("shortCode"))
- it.ShortCode, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.ShortCode = data
case "tags":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("tags"))
- it.Tags, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.Tags = data
}
}
@@ 23329,117 23200,103 @@ func (ec *executionContext) unmarshalInputUpdateListingInput(ctx context.Context
}
switch k {
case "id":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id"))
- it.ID, err = ec.unmarshalNInt2int(ctx, v)
+ data, err := ec.unmarshalNInt2int(ctx, v)
if err != nil {
return it, err
}
+ it.ID = data
case "title":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("title"))
- it.Title, err = ec.unmarshalNString2string(ctx, v)
+ data, err := ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
+ it.Title = data
case "slug":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("slug"))
- it.Slug, err = ec.unmarshalNString2string(ctx, v)
+ data, err := ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
+ it.Slug = data
case "image":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("image"))
- it.Image, err = ec.unmarshalOUpload2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚐUpload(ctx, v)
+ data, err := ec.unmarshalOUpload2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚐUpload(ctx, v)
if err != nil {
return it, err
}
+ it.Image = data
case "deleteImg":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("deleteImg"))
- it.DeleteImg, err = ec.unmarshalOBoolean2ᚖbool(ctx, v)
+ data, err := ec.unmarshalOBoolean2ᚖbool(ctx, v)
if err != nil {
return it, err
}
+ it.DeleteImg = data
case "domainId":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("domainId"))
- it.DomainID, err = ec.unmarshalNInt2int(ctx, v)
+ data, err := ec.unmarshalNInt2int(ctx, v)
if err != nil {
return it, err
}
+ it.DomainID = data
case "isDefault":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("isDefault"))
- it.IsDefault, err = ec.unmarshalNBoolean2bool(ctx, v)
+ data, err := ec.unmarshalNBoolean2bool(ctx, v)
if err != nil {
return it, err
}
+ it.IsDefault = data
case "isActive":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("isActive"))
- it.IsActive, err = ec.unmarshalOBoolean2ᚖbool(ctx, v)
+ data, err := ec.unmarshalOBoolean2ᚖbool(ctx, v)
if err != nil {
return it, err
}
+ it.IsActive = data
case "tags":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("tags"))
- it.Tags, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.Tags = data
case "facebook":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("facebook"))
- it.Facebook, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.Facebook = data
case "twitter":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("twitter"))
- it.Twitter, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.Twitter = data
case "tiktok":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("tiktok"))
- it.Tiktok, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.Tiktok = data
case "youtube":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("youtube"))
- it.Youtube, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.Youtube = data
case "instagram":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("instagram"))
- it.Instagram, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.Instagram = data
}
}
@@ 23461,45 23318,40 @@ func (ec *executionContext) unmarshalInputUpdateListingLinkInput(ctx context.Con
}
switch k {
case "id":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id"))
- it.ID, err = ec.unmarshalNInt2int(ctx, v)
+ data, err := ec.unmarshalNInt2int(ctx, v)
if err != nil {
return it, err
}
+ it.ID = data
case "title":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("title"))
- it.Title, err = ec.unmarshalNString2string(ctx, v)
+ data, err := ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
+ it.Title = data
case "linkOrder":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("linkOrder"))
- it.LinkOrder, err = ec.unmarshalNInt2int(ctx, v)
+ data, err := ec.unmarshalNInt2int(ctx, v)
if err != nil {
return it, err
}
+ it.LinkOrder = data
case "url":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("url"))
- it.URL, err = ec.unmarshalNString2string(ctx, v)
+ data, err := ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
+ it.URL = data
case "description":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("description"))
- it.Description, err = ec.unmarshalOString2ᚖstring(ctx, v)
+ data, err := ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
+ it.Description = data
}
}
@@ 23521,61 23373,54 @@ func (ec *executionContext) unmarshalInputUpdateOrganizationInput(ctx context.Co
}
switch k {
case "currentSlug":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("currentSlug"))
- it.CurrentSlug, err = ec.unmarshalNString2string(ctx, v)
+ data, err := ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
+ it.CurrentSlug = data
case "name":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name"))
- it.Name, err = ec.unmarshalNString2string(ctx, v)
+ data, err := ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
+ it.Name = data
case "slug":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("slug"))
- it.Slug, err = ec.unmarshalNString2string(ctx, v)
+ data, err := ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
+ it.Slug = data
case "image":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("image"))
- it.Image, err = ec.unmarshalOUpload2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚐUpload(ctx, v)
+ data, err := ec.unmarshalOUpload2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚐUpload(ctx, v)
if err != nil {
return it, err
}
+ it.Image = data
case "isActive":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("isActive"))
- it.IsActive, err = ec.unmarshalOBoolean2ᚖbool(ctx, v)
+ data, err := ec.unmarshalOBoolean2ᚖbool(ctx, v)
if err != nil {
return it, err
}
+ it.IsActive = data
case "deleteImg":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("deleteImg"))
- it.DeleteImg, err = ec.unmarshalOBoolean2ᚖbool(ctx, v)
+ data, err := ec.unmarshalOBoolean2ᚖbool(ctx, v)
if err != nil {
return it, err
}
+ it.DeleteImg = data
case "defaultPerm":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("defaultPerm"))
- it.DefaultPerm, err = ec.unmarshalOInt2ᚖint(ctx, v)
+ data, err := ec.unmarshalOInt2ᚖint(ctx, v)
if err != nil {
return it, err
}
+ it.DefaultPerm = data
}
}
@@ 23597,37 23442,33 @@ func (ec *executionContext) unmarshalInputUpdateUserInput(ctx context.Context, o
}
switch k {
case "id":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id"))
- it.ID, err = ec.unmarshalNInt2int(ctx, v)
+ data, err := ec.unmarshalNInt2int(ctx, v)
if err != nil {
return it, err
}
+ it.ID = data
case "email":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("email"))
- it.Email, err = ec.unmarshalNString2string(ctx, v)
+ data, err := ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
+ it.Email = data
case "name":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name"))
- it.Name, err = ec.unmarshalNString2string(ctx, v)
+ data, err := ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
+ it.Name = data
case "isVerified":
- var err error
-
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("isVerified"))
- it.IsVerified, err = ec.unmarshalNBoolean2bool(ctx, v)
+ data, err := ec.unmarshalNBoolean2bool(ctx, v)
if err != nil {
return it, err
}
+ it.IsVerified = data
}
}
@@ 23646,34 23487,43 @@ var addMemberPayloadImplementors = []string{"AddMemberPayload"}
func (ec *executionContext) _AddMemberPayload(ctx context.Context, sel ast.SelectionSet, obj *model.AddMemberPayload) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, addMemberPayloadImplementors)
+
out := graphql.NewFieldSet(fields)
- var invalids uint32
+ deferred := make(map[string]*graphql.FieldSet)
for i, field := range fields {
switch field.Name {
case "__typename":
out.Values[i] = graphql.MarshalString("AddMemberPayload")
case "success":
-
out.Values[i] = ec._AddMemberPayload_success(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "message":
-
out.Values[i] = ec._AddMemberPayload_message(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
default:
panic("unknown field " + strconv.Quote(field.Name))
}
}
- out.Dispatch()
- if invalids > 0 {
+ out.Dispatch(ctx)
+ if out.Invalids > 0 {
return graphql.Null
}
+
+ atomic.AddInt32(&ec.deferred, int32(len(deferred)))
+
+ for label, dfs := range deferred {
+ ec.processDeferredGroup(graphql.DeferredGroup{
+ Label: label,
+ Path: graphql.GetPath(ctx),
+ FieldSet: dfs,
+ Context: ctx,
+ })
+ }
+
return out
}
@@ 23681,76 23531,73 @@ var adminBillingStatsImplementors = []string{"AdminBillingStats"}
func (ec *executionContext) _AdminBillingStats(ctx context.Context, sel ast.SelectionSet, obj *model.AdminBillingStats) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, adminBillingStatsImplementors)
+
out := graphql.NewFieldSet(fields)
- var invalids uint32
+ deferred := make(map[string]*graphql.FieldSet)
for i, field := range fields {
switch field.Name {
case "__typename":
out.Values[i] = graphql.MarshalString("AdminBillingStats")
case "activeSubscriptions":
-
out.Values[i] = ec._AdminBillingStats_activeSubscriptions(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "pendingCancelSubscriptions":
-
out.Values[i] = ec._AdminBillingStats_pendingCancelSubscriptions(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "canceledSubscription":
-
out.Values[i] = ec._AdminBillingStats_canceledSubscription(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "newSubscribers":
-
out.Values[i] = ec._AdminBillingStats_newSubscribers(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "totalAmount":
-
out.Values[i] = ec._AdminBillingStats_totalAmount(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "totalFee":
-
out.Values[i] = ec._AdminBillingStats_totalFee(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "totalNet":
-
out.Values[i] = ec._AdminBillingStats_totalNet(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "totalRefunded":
-
out.Values[i] = ec._AdminBillingStats_totalRefunded(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
default:
panic("unknown field " + strconv.Quote(field.Name))
}
}
- out.Dispatch()
- if invalids > 0 {
+ out.Dispatch(ctx)
+ if out.Invalids > 0 {
return graphql.Null
}
+
+ atomic.AddInt32(&ec.deferred, int32(len(deferred)))
+
+ for label, dfs := range deferred {
+ ec.processDeferredGroup(graphql.DeferredGroup{
+ Label: label,
+ Path: graphql.GetPath(ctx),
+ FieldSet: dfs,
+ Context: ctx,
+ })
+ }
+
return out
}
@@ 23758,105 23605,111 @@ var analyticDataImplementors = []string{"AnalyticData"}
func (ec *executionContext) _AnalyticData(ctx context.Context, sel ast.SelectionSet, obj *model.AnalyticData) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, analyticDataImplementors)
+
out := graphql.NewFieldSet(fields)
- var invalids uint32
+ deferred := make(map[string]*graphql.FieldSet)
for i, field := range fields {
switch field.Name {
case "__typename":
out.Values[i] = graphql.MarshalString("AnalyticData")
case "key":
-
out.Values[i] = ec._AnalyticData_key(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "val":
-
out.Values[i] = ec._AnalyticData_val(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
default:
panic("unknown field " + strconv.Quote(field.Name))
}
}
- out.Dispatch()
- if invalids > 0 {
+ out.Dispatch(ctx)
+ if out.Invalids > 0 {
return graphql.Null
}
- return out
-}
+
+ atomic.AddInt32(&ec.deferred, int32(len(deferred)))
+
+ for label, dfs := range deferred {
+ ec.processDeferredGroup(graphql.DeferredGroup{
+ Label: label,
+ Path: graphql.GetPath(ctx),
+ FieldSet: dfs,
+ Context: ctx,
+ })
+ }
+
+ return out
+}
var analyticsImplementors = []string{"Analytics"}
func (ec *executionContext) _Analytics(ctx context.Context, sel ast.SelectionSet, obj *model.Analytics) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, analyticsImplementors)
+
out := graphql.NewFieldSet(fields)
- var invalids uint32
+ deferred := make(map[string]*graphql.FieldSet)
for i, field := range fields {
switch field.Name {
case "__typename":
out.Values[i] = graphql.MarshalString("Analytics")
case "title":
-
out.Values[i] = ec._Analytics_title(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "clicksOverTime":
-
out.Values[i] = ec._Analytics_clicksOverTime(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "clicksCountry":
-
out.Values[i] = ec._Analytics_clicksCountry(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "clicksCity":
-
out.Values[i] = ec._Analytics_clicksCity(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "clicksDevice":
-
out.Values[i] = ec._Analytics_clicksDevice(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "clicksReferrer":
-
out.Values[i] = ec._Analytics_clicksReferrer(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "listingLink":
-
out.Values[i] = ec._Analytics_listingLink(ctx, field, obj)
-
case "qrList":
-
out.Values[i] = ec._Analytics_qrList(ctx, field, obj)
-
default:
panic("unknown field " + strconv.Quote(field.Name))
}
}
- out.Dispatch()
- if invalids > 0 {
+ out.Dispatch(ctx)
+ if out.Invalids > 0 {
return graphql.Null
}
+
+ atomic.AddInt32(&ec.deferred, int32(len(deferred)))
+
+ for label, dfs := range deferred {
+ ec.processDeferredGroup(graphql.DeferredGroup{
+ Label: label,
+ Path: graphql.GetPath(ctx),
+ FieldSet: dfs,
+ Context: ctx,
+ })
+ }
+
return out
}
@@ 23864,87 23717,80 @@ var baseURLImplementors = []string{"BaseURL"}
func (ec *executionContext) _BaseURL(ctx context.Context, sel ast.SelectionSet, obj *models.BaseURL) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, baseURLImplementors)
+
out := graphql.NewFieldSet(fields)
- var invalids uint32
+ deferred := make(map[string]*graphql.FieldSet)
for i, field := range fields {
switch field.Name {
case "__typename":
out.Values[i] = graphql.MarshalString("BaseURL")
case "id":
-
out.Values[i] = ec._BaseURL_id(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "title":
-
out.Values[i] = ec._BaseURL_title(ctx, field, obj)
-
case "url":
-
out.Values[i] = ec._BaseURL_url(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "counter":
-
out.Values[i] = ec._BaseURL_counter(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "tags":
-
out.Values[i] = ec._BaseURL_tags(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "publicReady":
-
out.Values[i] = ec._BaseURL_publicReady(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "hash":
-
out.Values[i] = ec._BaseURL_hash(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "data":
-
out.Values[i] = ec._BaseURL_data(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "createdOn":
-
out.Values[i] = ec._BaseURL_createdOn(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "updatedOn":
-
out.Values[i] = ec._BaseURL_updatedOn(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
default:
panic("unknown field " + strconv.Quote(field.Name))
}
}
- out.Dispatch()
- if invalids > 0 {
+ out.Dispatch(ctx)
+ if out.Invalids > 0 {
return graphql.Null
}
+
+ atomic.AddInt32(&ec.deferred, int32(len(deferred)))
+
+ for label, dfs := range deferred {
+ ec.processDeferredGroup(graphql.DeferredGroup{
+ Label: label,
+ Path: graphql.GetPath(ctx),
+ FieldSet: dfs,
+ Context: ctx,
+ })
+ }
+
return out
}
@@ 23952,24 23798,35 @@ var baseURLDataImplementors = []string{"BaseURLData"}
func (ec *executionContext) _BaseURLData(ctx context.Context, sel ast.SelectionSet, obj *models.BaseURLData) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, baseURLDataImplementors)
+
out := graphql.NewFieldSet(fields)
- var invalids uint32
+ deferred := make(map[string]*graphql.FieldSet)
for i, field := range fields {
switch field.Name {
case "__typename":
out.Values[i] = graphql.MarshalString("BaseURLData")
case "meta":
-
out.Values[i] = ec._BaseURLData_meta(ctx, field, obj)
-
default:
panic("unknown field " + strconv.Quote(field.Name))
}
}
- out.Dispatch()
- if invalids > 0 {
+ out.Dispatch(ctx)
+ if out.Invalids > 0 {
return graphql.Null
}
+
+ atomic.AddInt32(&ec.deferred, int32(len(deferred)))
+
+ for label, dfs := range deferred {
+ ec.processDeferredGroup(graphql.DeferredGroup{
+ Label: label,
+ Path: graphql.GetPath(ctx),
+ FieldSet: dfs,
+ Context: ctx,
+ })
+ }
+
return out
}
@@ 23977,27 23834,38 @@ var billingSettingsImplementors = []string{"BillingSettings"}
func (ec *executionContext) _BillingSettings(ctx context.Context, sel ast.SelectionSet, obj *models.BillingSettings) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, billingSettingsImplementors)
+
out := graphql.NewFieldSet(fields)
- var invalids uint32
+ deferred := make(map[string]*graphql.FieldSet)
for i, field := range fields {
switch field.Name {
case "__typename":
out.Values[i] = graphql.MarshalString("BillingSettings")
case "status":
-
out.Values[i] = ec._BillingSettings_status(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
default:
panic("unknown field " + strconv.Quote(field.Name))
}
}
- out.Dispatch()
- if invalids > 0 {
+ out.Dispatch(ctx)
+ if out.Invalids > 0 {
return graphql.Null
}
+
+ atomic.AddInt32(&ec.deferred, int32(len(deferred)))
+
+ for label, dfs := range deferred {
+ ec.processDeferredGroup(graphql.DeferredGroup{
+ Label: label,
+ Path: graphql.GetPath(ctx),
+ FieldSet: dfs,
+ Context: ctx,
+ })
+ }
+
return out
}
@@ 24005,34 23873,43 @@ var deletePayloadImplementors = []string{"DeletePayload"}
func (ec *executionContext) _DeletePayload(ctx context.Context, sel ast.SelectionSet, obj *model.DeletePayload) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, deletePayloadImplementors)
+
out := graphql.NewFieldSet(fields)
- var invalids uint32
+ deferred := make(map[string]*graphql.FieldSet)
for i, field := range fields {
switch field.Name {
case "__typename":
out.Values[i] = graphql.MarshalString("DeletePayload")
case "success":
-
out.Values[i] = ec._DeletePayload_success(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "objectId":
-
out.Values[i] = ec._DeletePayload_objectId(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
default:
panic("unknown field " + strconv.Quote(field.Name))
}
}
- out.Dispatch()
- if invalids > 0 {
+ out.Dispatch(ctx)
+ if out.Invalids > 0 {
return graphql.Null
}
+
+ atomic.AddInt32(&ec.deferred, int32(len(deferred)))
+
+ for label, dfs := range deferred {
+ ec.processDeferredGroup(graphql.DeferredGroup{
+ Label: label,
+ Path: graphql.GetPath(ctx),
+ FieldSet: dfs,
+ Context: ctx,
+ })
+ }
+
return out
}
@@ 24040,37 23917,32 @@ var domainImplementors = []string{"Domain"}
func (ec *executionContext) _Domain(ctx context.Context, sel ast.SelectionSet, obj *models.Domain) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, domainImplementors)
+
out := graphql.NewFieldSet(fields)
- var invalids uint32
+ deferred := make(map[string]*graphql.FieldSet)
for i, field := range fields {
switch field.Name {
case "__typename":
out.Values[i] = graphql.MarshalString("Domain")
case "id":
-
out.Values[i] = ec._Domain_id(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&out.Invalids, 1)
}
case "name":
-
out.Values[i] = ec._Domain_name(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&out.Invalids, 1)
}
case "lookupName":
-
out.Values[i] = ec._Domain_lookupName(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&out.Invalids, 1)
}
case "orgId":
field := field
- innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ innerFunc := func(ctx context.Context, fs *graphql.FieldSet) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ 24078,19 23950,35 @@ func (ec *executionContext) _Domain(ctx context.Context, sel ast.SelectionSet, o
}()
res = ec._Domain_orgId(ctx, field, obj)
if res == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&fs.Invalids, 1)
}
return res
}
- out.Concurrently(i, func() graphql.Marshaler {
- return innerFunc(ctx)
+ if field.Deferrable != nil {
+ dfs, ok := deferred[field.Deferrable.Label]
+ di := 0
+ if ok {
+ dfs.AddField(field)
+ di = len(dfs.Values) - 1
+ } else {
+ dfs = graphql.NewFieldSet([]graphql.CollectedField{field})
+ deferred[field.Deferrable.Label] = dfs
+ }
+ dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler {
+ return innerFunc(ctx, dfs)
+ })
- })
+ // don't run the out.Concurrently() call below
+ out.Values[i] = graphql.Null
+ continue
+ }
+
+ out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) })
case "orgSlug":
field := field
- innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ innerFunc := func(ctx context.Context, fs *graphql.FieldSet) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ 24098,65 23986,81 @@ func (ec *executionContext) _Domain(ctx context.Context, sel ast.SelectionSet, o
}()
res = ec._Domain_orgSlug(ctx, field, obj)
if res == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&fs.Invalids, 1)
}
return res
}
- out.Concurrently(i, func() graphql.Marshaler {
- return innerFunc(ctx)
+ if field.Deferrable != nil {
+ dfs, ok := deferred[field.Deferrable.Label]
+ di := 0
+ if ok {
+ dfs.AddField(field)
+ di = len(dfs.Values) - 1
+ } else {
+ dfs = graphql.NewFieldSet([]graphql.CollectedField{field})
+ deferred[field.Deferrable.Label] = dfs
+ }
+ dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler {
+ return innerFunc(ctx, dfs)
+ })
- })
- case "service":
+ // don't run the out.Concurrently() call below
+ out.Values[i] = graphql.Null
+ continue
+ }
+ out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) })
+ case "service":
out.Values[i] = ec._Domain_service(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&out.Invalids, 1)
}
case "level":
-
out.Values[i] = ec._Domain_level(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&out.Invalids, 1)
}
case "status":
-
out.Values[i] = ec._Domain_status(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&out.Invalids, 1)
}
case "isActive":
-
out.Values[i] = ec._Domain_isActive(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&out.Invalids, 1)
}
case "createdOn":
-
out.Values[i] = ec._Domain_createdOn(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&out.Invalids, 1)
}
case "updatedOn":
-
out.Values[i] = ec._Domain_updatedOn(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&out.Invalids, 1)
}
default:
panic("unknown field " + strconv.Quote(field.Name))
}
}
- out.Dispatch()
- if invalids > 0 {
+ out.Dispatch(ctx)
+ if out.Invalids > 0 {
return graphql.Null
}
+
+ atomic.AddInt32(&ec.deferred, int32(len(deferred)))
+
+ for label, dfs := range deferred {
+ ec.processDeferredGroup(graphql.DeferredGroup{
+ Label: label,
+ Path: graphql.GetPath(ctx),
+ FieldSet: dfs,
+ Context: ctx,
+ })
+ }
+
return out
}
@@ 24164,31 24068,40 @@ var domainCursorImplementors = []string{"DomainCursor"}
func (ec *executionContext) _DomainCursor(ctx context.Context, sel ast.SelectionSet, obj *model.DomainCursor) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, domainCursorImplementors)
+
out := graphql.NewFieldSet(fields)
- var invalids uint32
+ deferred := make(map[string]*graphql.FieldSet)
for i, field := range fields {
switch field.Name {
case "__typename":
out.Values[i] = graphql.MarshalString("DomainCursor")
case "result":
-
out.Values[i] = ec._DomainCursor_result(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "pageInfo":
-
out.Values[i] = ec._DomainCursor_pageInfo(ctx, field, obj)
-
default:
panic("unknown field " + strconv.Quote(field.Name))
}
}
- out.Dispatch()
- if invalids > 0 {
+ out.Dispatch(ctx)
+ if out.Invalids > 0 {
return graphql.Null
}
+
+ atomic.AddInt32(&ec.deferred, int32(len(deferred)))
+
+ for label, dfs := range deferred {
+ ec.processDeferredGroup(graphql.DeferredGroup{
+ Label: label,
+ Path: graphql.GetPath(ctx),
+ FieldSet: dfs,
+ Context: ctx,
+ })
+ }
+
return out
}
@@ 24196,34 24109,43 @@ var followPayloadImplementors = []string{"FollowPayload"}
func (ec *executionContext) _FollowPayload(ctx context.Context, sel ast.SelectionSet, obj *model.FollowPayload) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, followPayloadImplementors)
+
out := graphql.NewFieldSet(fields)
- var invalids uint32
+ deferred := make(map[string]*graphql.FieldSet)
for i, field := range fields {
switch field.Name {
case "__typename":
out.Values[i] = graphql.MarshalString("FollowPayload")
case "success":
-
out.Values[i] = ec._FollowPayload_success(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "message":
-
out.Values[i] = ec._FollowPayload_message(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
default:
panic("unknown field " + strconv.Quote(field.Name))
}
}
- out.Dispatch()
- if invalids > 0 {
+ out.Dispatch(ctx)
+ if out.Invalids > 0 {
return graphql.Null
}
+
+ atomic.AddInt32(&ec.deferred, int32(len(deferred)))
+
+ for label, dfs := range deferred {
+ ec.processDeferredGroup(graphql.DeferredGroup{
+ Label: label,
+ Path: graphql.GetPath(ctx),
+ FieldSet: dfs,
+ Context: ctx,
+ })
+ }
+
return out
}
@@ 24231,48 24153,53 @@ var hTMLMetaImplementors = []string{"HTMLMeta"}
func (ec *executionContext) _HTMLMeta(ctx context.Context, sel ast.SelectionSet, obj *models.HTMLMeta) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, hTMLMetaImplementors)
+
out := graphql.NewFieldSet(fields)
- var invalids uint32
+ deferred := make(map[string]*graphql.FieldSet)
for i, field := range fields {
switch field.Name {
case "__typename":
out.Values[i] = graphql.MarshalString("HTMLMeta")
case "title":
-
out.Values[i] = ec._HTMLMeta_title(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "description":
-
out.Values[i] = ec._HTMLMeta_description(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "image":
-
out.Values[i] = ec._HTMLMeta_image(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "siteName":
-
out.Values[i] = ec._HTMLMeta_siteName(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
default:
panic("unknown field " + strconv.Quote(field.Name))
}
}
- out.Dispatch()
- if invalids > 0 {
+ out.Dispatch(ctx)
+ if out.Invalids > 0 {
return graphql.Null
}
+
+ atomic.AddInt32(&ec.deferred, int32(len(deferred)))
+
+ for label, dfs := range deferred {
+ ec.processDeferredGroup(graphql.DeferredGroup{
+ Label: label,
+ Path: graphql.GetPath(ctx),
+ FieldSet: dfs,
+ Context: ctx,
+ })
+ }
+
return out
}
@@ 24280,91 24207,82 @@ var linkShortImplementors = []string{"LinkShort"}
func (ec *executionContext) _LinkShort(ctx context.Context, sel ast.SelectionSet, obj *models.LinkShort) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, linkShortImplementors)
+
out := graphql.NewFieldSet(fields)
- var invalids uint32
+ deferred := make(map[string]*graphql.FieldSet)
for i, field := range fields {
switch field.Name {
case "__typename":
out.Values[i] = graphql.MarshalString("LinkShort")
case "id":
-
out.Values[i] = ec._LinkShort_id(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "title":
-
out.Values[i] = ec._LinkShort_title(ctx, field, obj)
-
case "url":
-
out.Values[i] = ec._LinkShort_url(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "shortCode":
-
out.Values[i] = ec._LinkShort_shortCode(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "tags":
-
out.Values[i] = ec._LinkShort_tags(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "userId":
-
out.Values[i] = ec._LinkShort_userId(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "domainId":
-
out.Values[i] = ec._LinkShort_domainId(ctx, field, obj)
-
case "orgId":
-
out.Values[i] = ec._LinkShort_orgId(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "lookupName":
-
out.Values[i] = ec._LinkShort_lookupName(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "createdOn":
-
out.Values[i] = ec._LinkShort_createdOn(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "updatedOn":
-
out.Values[i] = ec._LinkShort_updatedOn(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
default:
panic("unknown field " + strconv.Quote(field.Name))
}
}
- out.Dispatch()
- if invalids > 0 {
+ out.Dispatch(ctx)
+ if out.Invalids > 0 {
return graphql.Null
}
+
+ atomic.AddInt32(&ec.deferred, int32(len(deferred)))
+
+ for label, dfs := range deferred {
+ ec.processDeferredGroup(graphql.DeferredGroup{
+ Label: label,
+ Path: graphql.GetPath(ctx),
+ FieldSet: dfs,
+ Context: ctx,
+ })
+ }
+
return out
}
@@ 24372,31 24290,40 @@ var linkShortCursorImplementors = []string{"LinkShortCursor"}
func (ec *executionContext) _LinkShortCursor(ctx context.Context, sel ast.SelectionSet, obj *model.LinkShortCursor) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, linkShortCursorImplementors)
+
out := graphql.NewFieldSet(fields)
- var invalids uint32
+ deferred := make(map[string]*graphql.FieldSet)
for i, field := range fields {
switch field.Name {
case "__typename":
out.Values[i] = graphql.MarshalString("LinkShortCursor")
case "result":
-
out.Values[i] = ec._LinkShortCursor_result(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "pageInfo":
-
out.Values[i] = ec._LinkShortCursor_pageInfo(ctx, field, obj)
-
default:
panic("unknown field " + strconv.Quote(field.Name))
}
}
- out.Dispatch()
- if invalids > 0 {
+ out.Dispatch(ctx)
+ if out.Invalids > 0 {
return graphql.Null
}
+
+ atomic.AddInt32(&ec.deferred, int32(len(deferred)))
+
+ for label, dfs := range deferred {
+ ec.processDeferredGroup(graphql.DeferredGroup{
+ Label: label,
+ Path: graphql.GetPath(ctx),
+ FieldSet: dfs,
+ Context: ctx,
+ })
+ }
+
return out
}
@@ 24404,118 24331,103 @@ var listingImplementors = []string{"Listing"}
func (ec *executionContext) _Listing(ctx context.Context, sel ast.SelectionSet, obj *models.Listing) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, listingImplementors)
+
out := graphql.NewFieldSet(fields)
- var invalids uint32
+ deferred := make(map[string]*graphql.FieldSet)
for i, field := range fields {
switch field.Name {
case "__typename":
out.Values[i] = graphql.MarshalString("Listing")
case "id":
-
out.Values[i] = ec._Listing_id(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "title":
-
out.Values[i] = ec._Listing_title(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "slug":
-
out.Values[i] = ec._Listing_slug(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "image":
-
out.Values[i] = ec._Listing_image(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "metadata":
-
out.Values[i] = ec._Listing_metadata(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "isActive":
-
out.Values[i] = ec._Listing_isActive(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "isDefault":
-
out.Values[i] = ec._Listing_isDefault(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "tags":
-
out.Values[i] = ec._Listing_tags(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "userId":
-
out.Values[i] = ec._Listing_userId(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "orgId":
-
out.Values[i] = ec._Listing_orgId(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "domainId":
-
out.Values[i] = ec._Listing_domainId(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "lookupName":
-
out.Values[i] = ec._Listing_lookupName(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "createdOn":
-
out.Values[i] = ec._Listing_createdOn(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "updatedOn":
-
out.Values[i] = ec._Listing_updatedOn(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
default:
panic("unknown field " + strconv.Quote(field.Name))
}
}
- out.Dispatch()
- if invalids > 0 {
+ out.Dispatch(ctx)
+ if out.Invalids > 0 {
return graphql.Null
}
+
+ atomic.AddInt32(&ec.deferred, int32(len(deferred)))
+
+ for label, dfs := range deferred {
+ ec.processDeferredGroup(graphql.DeferredGroup{
+ Label: label,
+ Path: graphql.GetPath(ctx),
+ FieldSet: dfs,
+ Context: ctx,
+ })
+ }
+
return out
}
@@ 24523,31 24435,40 @@ var listingCursorImplementors = []string{"ListingCursor"}
func (ec *executionContext) _ListingCursor(ctx context.Context, sel ast.SelectionSet, obj *model.ListingCursor) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, listingCursorImplementors)
+
out := graphql.NewFieldSet(fields)
- var invalids uint32
+ deferred := make(map[string]*graphql.FieldSet)
for i, field := range fields {
switch field.Name {
case "__typename":
out.Values[i] = graphql.MarshalString("ListingCursor")
case "result":
-
out.Values[i] = ec._ListingCursor_result(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "pageInfo":
-
out.Values[i] = ec._ListingCursor_pageInfo(ctx, field, obj)
-
default:
panic("unknown field " + strconv.Quote(field.Name))
}
}
- out.Dispatch()
- if invalids > 0 {
+ out.Dispatch(ctx)
+ if out.Invalids > 0 {
return graphql.Null
}
+
+ atomic.AddInt32(&ec.deferred, int32(len(deferred)))
+
+ for label, dfs := range deferred {
+ ec.processDeferredGroup(graphql.DeferredGroup{
+ Label: label,
+ Path: graphql.GetPath(ctx),
+ FieldSet: dfs,
+ Context: ctx,
+ })
+ }
+
return out
}
@@ 24555,87 24476,80 @@ var listingLinkImplementors = []string{"ListingLink"}
func (ec *executionContext) _ListingLink(ctx context.Context, sel ast.SelectionSet, obj *models.ListingLink) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, listingLinkImplementors)
+
out := graphql.NewFieldSet(fields)
- var invalids uint32
+ deferred := make(map[string]*graphql.FieldSet)
for i, field := range fields {
switch field.Name {
case "__typename":
out.Values[i] = graphql.MarshalString("ListingLink")
case "id":
-
out.Values[i] = ec._ListingLink_id(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "title":
-
out.Values[i] = ec._ListingLink_title(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "linkOrder":
-
out.Values[i] = ec._ListingLink_linkOrder(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "url":
-
out.Values[i] = ec._ListingLink_url(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "description":
-
out.Values[i] = ec._ListingLink_description(ctx, field, obj)
-
case "userId":
-
out.Values[i] = ec._ListingLink_userId(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "listingId":
-
out.Values[i] = ec._ListingLink_listingId(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "clicks":
-
out.Values[i] = ec._ListingLink_clicks(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "createdOn":
-
out.Values[i] = ec._ListingLink_createdOn(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "updatedOn":
-
out.Values[i] = ec._ListingLink_updatedOn(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
default:
panic("unknown field " + strconv.Quote(field.Name))
}
}
- out.Dispatch()
- if invalids > 0 {
+ out.Dispatch(ctx)
+ if out.Invalids > 0 {
return graphql.Null
}
+
+ atomic.AddInt32(&ec.deferred, int32(len(deferred)))
+
+ for label, dfs := range deferred {
+ ec.processDeferredGroup(graphql.DeferredGroup{
+ Label: label,
+ Path: graphql.GetPath(ctx),
+ FieldSet: dfs,
+ Context: ctx,
+ })
+ }
+
return out
}
@@ 24643,38 24557,45 @@ var listingLinkCursorImplementors = []string{"ListingLinkCursor"}
func (ec *executionContext) _ListingLinkCursor(ctx context.Context, sel ast.SelectionSet, obj *model.ListingLinkCursor) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, listingLinkCursorImplementors)
+
out := graphql.NewFieldSet(fields)
- var invalids uint32
+ deferred := make(map[string]*graphql.FieldSet)
for i, field := range fields {
switch field.Name {
case "__typename":
out.Values[i] = graphql.MarshalString("ListingLinkCursor")
case "result":
-
out.Values[i] = ec._ListingLinkCursor_result(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "links":
-
out.Values[i] = ec._ListingLinkCursor_links(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "pageInfo":
-
out.Values[i] = ec._ListingLinkCursor_pageInfo(ctx, field, obj)
-
default:
panic("unknown field " + strconv.Quote(field.Name))
}
}
- out.Dispatch()
- if invalids > 0 {
+ out.Dispatch(ctx)
+ if out.Invalids > 0 {
return graphql.Null
}
+
+ atomic.AddInt32(&ec.deferred, int32(len(deferred)))
+
+ for label, dfs := range deferred {
+ ec.processDeferredGroup(graphql.DeferredGroup{
+ Label: label,
+ Path: graphql.GetPath(ctx),
+ FieldSet: dfs,
+ Context: ctx,
+ })
+ }
+
return out
}
@@ 24682,27 24603,38 @@ var metadataImplementors = []string{"Metadata"}
func (ec *executionContext) _Metadata(ctx context.Context, sel ast.SelectionSet, obj *models.Metadata) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, metadataImplementors)
+
out := graphql.NewFieldSet(fields)
- var invalids uint32
+ deferred := make(map[string]*graphql.FieldSet)
for i, field := range fields {
switch field.Name {
case "__typename":
out.Values[i] = graphql.MarshalString("Metadata")
case "socialLinks":
-
out.Values[i] = ec._Metadata_socialLinks(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
default:
panic("unknown field " + strconv.Quote(field.Name))
}
}
- out.Dispatch()
- if invalids > 0 {
+ out.Dispatch(ctx)
+ if out.Invalids > 0 {
return graphql.Null
}
+
+ atomic.AddInt32(&ec.deferred, int32(len(deferred)))
+
+ for label, dfs := range deferred {
+ ec.processDeferredGroup(graphql.DeferredGroup{
+ Label: label,
+ Path: graphql.GetPath(ctx),
+ FieldSet: dfs,
+ Context: ctx,
+ })
+ }
+
return out
}
@@ 24715,7 24647,7 @@ func (ec *executionContext) _Mutation(ctx context.Context, sel ast.SelectionSet)
})
out := graphql.NewFieldSet(fields)
- var invalids uint32
+ deferred := make(map[string]*graphql.FieldSet)
for i, field := range fields {
innerCtx := graphql.WithRootFieldContext(ctx, &graphql.RootFieldContext{
Object: field.Name,
@@ 24726,301 24658,249 @@ func (ec *executionContext) _Mutation(ctx context.Context, sel ast.SelectionSet)
case "__typename":
out.Values[i] = graphql.MarshalString("Mutation")
case "addOrganization":
-
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
return ec._Mutation_addOrganization(ctx, field)
})
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "addLink":
-
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
return ec._Mutation_addLink(ctx, field)
})
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "updateLink":
-
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
return ec._Mutation_updateLink(ctx, field)
})
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "deleteLink":
-
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
return ec._Mutation_deleteLink(ctx, field)
})
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "addNote":
-
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
return ec._Mutation_addNote(ctx, field)
})
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "addMember":
-
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
return ec._Mutation_addMember(ctx, field)
})
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "deleteMember":
-
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
return ec._Mutation_deleteMember(ctx, field)
})
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "confirmMember":
-
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
return ec._Mutation_confirmMember(ctx, field)
})
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "register":
-
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
return ec._Mutation_register(ctx, field)
})
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "completeRegister":
-
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
return ec._Mutation_completeRegister(ctx, field)
})
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "updateProfile":
-
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
return ec._Mutation_updateProfile(ctx, field)
})
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "updateOrganization":
-
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
return ec._Mutation_updateOrganization(ctx, field)
})
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "addDomain":
-
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
return ec._Mutation_addDomain(ctx, field)
})
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "deleteDomain":
-
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
return ec._Mutation_deleteDomain(ctx, field)
})
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "addLinkShort":
-
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
return ec._Mutation_addLinkShort(ctx, field)
})
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "updateLinkShort":
-
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
return ec._Mutation_updateLinkShort(ctx, field)
})
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "deleteLinkShort":
-
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
return ec._Mutation_deleteLinkShort(ctx, field)
})
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "addListing":
-
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
return ec._Mutation_addListing(ctx, field)
})
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "addListingLink":
-
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
return ec._Mutation_addListingLink(ctx, field)
})
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "updateListing":
-
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
return ec._Mutation_updateListing(ctx, field)
})
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "updateListingLink":
-
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
return ec._Mutation_updateListingLink(ctx, field)
})
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "deleteListing":
-
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
return ec._Mutation_deleteListing(ctx, field)
})
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "deleteListingLink":
-
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
return ec._Mutation_deleteListingLink(ctx, field)
})
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "addQRCode":
-
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
return ec._Mutation_addQRCode(ctx, field)
})
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "deleteQRCode":
-
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
return ec._Mutation_deleteQRCode(ctx, field)
})
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "follow":
-
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
return ec._Mutation_follow(ctx, field)
})
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "unfollow":
-
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
return ec._Mutation_unfollow(ctx, field)
})
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "updateAdminOrgType":
-
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
return ec._Mutation_updateAdminOrgType(ctx, field)
})
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "addAdminDomain":
-
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
return ec._Mutation_addAdminDomain(ctx, field)
})
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "updateAdminDomain":
-
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
return ec._Mutation_updateAdminDomain(ctx, field)
})
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "updateAdminUser":
-
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
return ec._Mutation_updateAdminUser(ctx, field)
})
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "sendRegisterInvitation":
-
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
return ec._Mutation_sendRegisterInvitation(ctx, field)
})
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
default:
panic("unknown field " + strconv.Quote(field.Name))
}
}
- out.Dispatch()
- if invalids > 0 {
+ out.Dispatch(ctx)
+ if out.Invalids > 0 {
return graphql.Null
}
+
+ atomic.AddInt32(&ec.deferred, int32(len(deferred)))
+
+ for label, dfs := range deferred {
+ ec.processDeferredGroup(graphql.DeferredGroup{
+ Label: label,
+ Path: graphql.GetPath(ctx),
+ FieldSet: dfs,
+ Context: ctx,
+ })
+ }
+
return out
}
@@ 25028,34 24908,43 @@ var nullIntImplementors = []string{"NullInt"}
func (ec *executionContext) _NullInt(ctx context.Context, sel ast.SelectionSet, obj *model.NullInt) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, nullIntImplementors)
+
out := graphql.NewFieldSet(fields)
- var invalids uint32
+ deferred := make(map[string]*graphql.FieldSet)
for i, field := range fields {
switch field.Name {
case "__typename":
out.Values[i] = graphql.MarshalString("NullInt")
case "int64":
-
out.Values[i] = ec._NullInt_int64(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "valid":
-
out.Values[i] = ec._NullInt_valid(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
default:
panic("unknown field " + strconv.Quote(field.Name))
}
}
- out.Dispatch()
- if invalids > 0 {
+ out.Dispatch(ctx)
+ if out.Invalids > 0 {
return graphql.Null
}
+
+ atomic.AddInt32(&ec.deferred, int32(len(deferred)))
+
+ for label, dfs := range deferred {
+ ec.processDeferredGroup(graphql.DeferredGroup{
+ Label: label,
+ Path: graphql.GetPath(ctx),
+ FieldSet: dfs,
+ Context: ctx,
+ })
+ }
+
return out
}
@@ 25063,34 24952,43 @@ var nullStringImplementors = []string{"NullString"}
func (ec *executionContext) _NullString(ctx context.Context, sel ast.SelectionSet, obj *model.NullString) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, nullStringImplementors)
+
out := graphql.NewFieldSet(fields)
- var invalids uint32
+ deferred := make(map[string]*graphql.FieldSet)
for i, field := range fields {
switch field.Name {
case "__typename":
out.Values[i] = graphql.MarshalString("NullString")
case "string":
-
out.Values[i] = ec._NullString_string(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "valid":
-
out.Values[i] = ec._NullString_valid(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
default:
panic("unknown field " + strconv.Quote(field.Name))
}
}
- out.Dispatch()
- if invalids > 0 {
+ out.Dispatch(ctx)
+ if out.Invalids > 0 {
return graphql.Null
}
+
+ atomic.AddInt32(&ec.deferred, int32(len(deferred)))
+
+ for label, dfs := range deferred {
+ ec.processDeferredGroup(graphql.DeferredGroup{
+ Label: label,
+ Path: graphql.GetPath(ctx),
+ FieldSet: dfs,
+ Context: ctx,
+ })
+ }
+
return out
}
@@ 25098,51 24996,42 @@ var orgLinkImplementors = []string{"OrgLink"}
func (ec *executionContext) _OrgLink(ctx context.Context, sel ast.SelectionSet, obj *models.OrgLink) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, orgLinkImplementors)
+
out := graphql.NewFieldSet(fields)
- var invalids uint32
+ deferred := make(map[string]*graphql.FieldSet)
for i, field := range fields {
switch field.Name {
case "__typename":
out.Values[i] = graphql.MarshalString("OrgLink")
case "id":
-
out.Values[i] = ec._OrgLink_id(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&out.Invalids, 1)
}
case "title":
-
out.Values[i] = ec._OrgLink_title(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&out.Invalids, 1)
}
case "description":
-
out.Values[i] = ec._OrgLink_description(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&out.Invalids, 1)
}
case "url":
-
out.Values[i] = ec._OrgLink_url(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&out.Invalids, 1)
}
case "hash":
-
out.Values[i] = ec._OrgLink_hash(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&out.Invalids, 1)
}
case "baseUrlId":
field := field
- innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ innerFunc := func(ctx context.Context, fs *graphql.FieldSet) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ 25150,111 25039,113 @@ func (ec *executionContext) _OrgLink(ctx context.Context, sel ast.SelectionSet,
}()
res = ec._OrgLink_baseUrlId(ctx, field, obj)
if res == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&fs.Invalids, 1)
}
return res
}
- out.Concurrently(i, func() graphql.Marshaler {
- return innerFunc(ctx)
+ if field.Deferrable != nil {
+ dfs, ok := deferred[field.Deferrable.Label]
+ di := 0
+ if ok {
+ dfs.AddField(field)
+ di = len(dfs.Values) - 1
+ } else {
+ dfs = graphql.NewFieldSet([]graphql.CollectedField{field})
+ deferred[field.Deferrable.Label] = dfs
+ }
+ dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler {
+ return innerFunc(ctx, dfs)
+ })
- })
- case "orgId":
+ // don't run the out.Concurrently() call below
+ out.Values[i] = graphql.Null
+ continue
+ }
+ out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) })
+ case "orgId":
out.Values[i] = ec._OrgLink_orgId(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&out.Invalids, 1)
}
case "userId":
-
out.Values[i] = ec._OrgLink_userId(ctx, field, obj)
-
case "visibility":
-
out.Values[i] = ec._OrgLink_visibility(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&out.Invalids, 1)
}
case "unread":
-
out.Values[i] = ec._OrgLink_unread(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&out.Invalids, 1)
}
case "starred":
-
out.Values[i] = ec._OrgLink_starred(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&out.Invalids, 1)
}
case "archiveUrl":
-
out.Values[i] = ec._OrgLink_archiveUrl(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&out.Invalids, 1)
}
case "type":
-
out.Values[i] = ec._OrgLink_type(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&out.Invalids, 1)
}
case "tags":
-
out.Values[i] = ec._OrgLink_tags(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&out.Invalids, 1)
}
case "author":
-
out.Values[i] = ec._OrgLink_author(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&out.Invalids, 1)
}
case "orgSlug":
-
out.Values[i] = ec._OrgLink_orgSlug(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&out.Invalids, 1)
}
case "createdOn":
-
out.Values[i] = ec._OrgLink_createdOn(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&out.Invalids, 1)
}
case "updatedOn":
-
out.Values[i] = ec._OrgLink_updatedOn(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&out.Invalids, 1)
}
case "baseUrlData":
-
out.Values[i] = ec._OrgLink_baseUrlData(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&out.Invalids, 1)
}
default:
panic("unknown field " + strconv.Quote(field.Name))
}
}
- out.Dispatch()
- if invalids > 0 {
+ out.Dispatch(ctx)
+ if out.Invalids > 0 {
return graphql.Null
}
+
+ atomic.AddInt32(&ec.deferred, int32(len(deferred)))
+
+ for label, dfs := range deferred {
+ ec.processDeferredGroup(graphql.DeferredGroup{
+ Label: label,
+ Path: graphql.GetPath(ctx),
+ FieldSet: dfs,
+ Context: ctx,
+ })
+ }
+
return out
}
@@ 25262,31 25153,40 @@ var orgLinkCursorImplementors = []string{"OrgLinkCursor"}
func (ec *executionContext) _OrgLinkCursor(ctx context.Context, sel ast.SelectionSet, obj *model.OrgLinkCursor) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, orgLinkCursorImplementors)
+
out := graphql.NewFieldSet(fields)
- var invalids uint32
+ deferred := make(map[string]*graphql.FieldSet)
for i, field := range fields {
switch field.Name {
case "__typename":
out.Values[i] = graphql.MarshalString("OrgLinkCursor")
case "result":
-
out.Values[i] = ec._OrgLinkCursor_result(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "pageInfo":
-
out.Values[i] = ec._OrgLinkCursor_pageInfo(ctx, field, obj)
-
default:
panic("unknown field " + strconv.Quote(field.Name))
}
}
- out.Dispatch()
- if invalids > 0 {
+ out.Dispatch(ctx)
+ if out.Invalids > 0 {
return graphql.Null
}
+
+ atomic.AddInt32(&ec.deferred, int32(len(deferred)))
+
+ for label, dfs := range deferred {
+ ec.processDeferredGroup(graphql.DeferredGroup{
+ Label: label,
+ Path: graphql.GetPath(ctx),
+ FieldSet: dfs,
+ Context: ctx,
+ })
+ }
+
return out
}
@@ 25294,51 25194,42 @@ var organizationImplementors = []string{"Organization"}
func (ec *executionContext) _Organization(ctx context.Context, sel ast.SelectionSet, obj *models.Organization) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, organizationImplementors)
+
out := graphql.NewFieldSet(fields)
- var invalids uint32
+ deferred := make(map[string]*graphql.FieldSet)
for i, field := range fields {
switch field.Name {
case "__typename":
out.Values[i] = graphql.MarshalString("Organization")
case "id":
-
out.Values[i] = ec._Organization_id(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&out.Invalids, 1)
}
case "ownerId":
-
out.Values[i] = ec._Organization_ownerId(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&out.Invalids, 1)
}
case "orgType":
-
out.Values[i] = ec._Organization_orgType(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&out.Invalids, 1)
}
case "name":
-
out.Values[i] = ec._Organization_name(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&out.Invalids, 1)
}
case "slug":
-
out.Values[i] = ec._Organization_slug(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&out.Invalids, 1)
}
case "image":
field := field
- innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ 25348,60 25239,76 @@ func (ec *executionContext) _Organization(ctx context.Context, sel ast.Selection
return res
}
- out.Concurrently(i, func() graphql.Marshaler {
- return innerFunc(ctx)
+ if field.Deferrable != nil {
+ dfs, ok := deferred[field.Deferrable.Label]
+ di := 0
+ if ok {
+ dfs.AddField(field)
+ di = len(dfs.Values) - 1
+ } else {
+ dfs = graphql.NewFieldSet([]graphql.CollectedField{field})
+ deferred[field.Deferrable.Label] = dfs
+ }
+ dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler {
+ return innerFunc(ctx, dfs)
+ })
- })
- case "timezone":
+ // don't run the out.Concurrently() call below
+ out.Values[i] = graphql.Null
+ continue
+ }
+ out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) })
+ case "timezone":
out.Values[i] = ec._Organization_timezone(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&out.Invalids, 1)
}
case "settings":
-
out.Values[i] = ec._Organization_settings(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&out.Invalids, 1)
}
case "isActive":
-
out.Values[i] = ec._Organization_isActive(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&out.Invalids, 1)
}
case "createdOn":
-
out.Values[i] = ec._Organization_createdOn(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&out.Invalids, 1)
}
case "updatedOn":
-
out.Values[i] = ec._Organization_updatedOn(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&out.Invalids, 1)
}
case "ownerName":
-
out.Values[i] = ec._Organization_ownerName(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&out.Invalids, 1)
}
default:
panic("unknown field " + strconv.Quote(field.Name))
}
}
- out.Dispatch()
- if invalids > 0 {
+ out.Dispatch(ctx)
+ if out.Invalids > 0 {
return graphql.Null
}
+
+ atomic.AddInt32(&ec.deferred, int32(len(deferred)))
+
+ for label, dfs := range deferred {
+ ec.processDeferredGroup(graphql.DeferredGroup{
+ Label: label,
+ Path: graphql.GetPath(ctx),
+ FieldSet: dfs,
+ Context: ctx,
+ })
+ }
+
return out
}
@@ 25409,31 25316,40 @@ var organizationCursorImplementors = []string{"OrganizationCursor"}
func (ec *executionContext) _OrganizationCursor(ctx context.Context, sel ast.SelectionSet, obj *model.OrganizationCursor) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, organizationCursorImplementors)
+
out := graphql.NewFieldSet(fields)
- var invalids uint32
+ deferred := make(map[string]*graphql.FieldSet)
for i, field := range fields {
switch field.Name {
case "__typename":
out.Values[i] = graphql.MarshalString("OrganizationCursor")
case "result":
-
out.Values[i] = ec._OrganizationCursor_result(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "pageInfo":
-
out.Values[i] = ec._OrganizationCursor_pageInfo(ctx, field, obj)
-
default:
panic("unknown field " + strconv.Quote(field.Name))
}
}
- out.Dispatch()
- if invalids > 0 {
+ out.Dispatch(ctx)
+ if out.Invalids > 0 {
return graphql.Null
}
+
+ atomic.AddInt32(&ec.deferred, int32(len(deferred)))
+
+ for label, dfs := range deferred {
+ ec.processDeferredGroup(graphql.DeferredGroup{
+ Label: label,
+ Path: graphql.GetPath(ctx),
+ FieldSet: dfs,
+ Context: ctx,
+ })
+ }
+
return out
}
@@ 25441,31 25357,40 @@ var organizationSettingsImplementors = []string{"OrganizationSettings"}
func (ec *executionContext) _OrganizationSettings(ctx context.Context, sel ast.SelectionSet, obj *models.OrganizationSettings) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, organizationSettingsImplementors)
+
out := graphql.NewFieldSet(fields)
- var invalids uint32
+ deferred := make(map[string]*graphql.FieldSet)
for i, field := range fields {
switch field.Name {
case "__typename":
out.Values[i] = graphql.MarshalString("OrganizationSettings")
case "defaultPerm":
-
out.Values[i] = ec._OrganizationSettings_defaultPerm(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "billing":
-
out.Values[i] = ec._OrganizationSettings_billing(ctx, field, obj)
-
default:
panic("unknown field " + strconv.Quote(field.Name))
}
}
- out.Dispatch()
- if invalids > 0 {
+ out.Dispatch(ctx)
+ if out.Invalids > 0 {
return graphql.Null
}
+
+ atomic.AddInt32(&ec.deferred, int32(len(deferred)))
+
+ for label, dfs := range deferred {
+ ec.processDeferredGroup(graphql.DeferredGroup{
+ Label: label,
+ Path: graphql.GetPath(ctx),
+ FieldSet: dfs,
+ Context: ctx,
+ })
+ }
+
return out
}
@@ 25473,41 25398,48 @@ var organizationStatsImplementors = []string{"OrganizationStats"}
func (ec *executionContext) _OrganizationStats(ctx context.Context, sel ast.SelectionSet, obj *model.OrganizationStats) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, organizationStatsImplementors)
+
out := graphql.NewFieldSet(fields)
- var invalids uint32
+ deferred := make(map[string]*graphql.FieldSet)
for i, field := range fields {
switch field.Name {
case "__typename":
out.Values[i] = graphql.MarshalString("OrganizationStats")
case "links":
-
out.Values[i] = ec._OrganizationStats_links(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "lists":
-
out.Values[i] = ec._OrganizationStats_lists(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "shorts":
-
out.Values[i] = ec._OrganizationStats_shorts(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
default:
panic("unknown field " + strconv.Quote(field.Name))
}
}
- out.Dispatch()
- if invalids > 0 {
+ out.Dispatch(ctx)
+ if out.Invalids > 0 {
return graphql.Null
}
+
+ atomic.AddInt32(&ec.deferred, int32(len(deferred)))
+
+ for label, dfs := range deferred {
+ ec.processDeferredGroup(graphql.DeferredGroup{
+ Label: label,
+ Path: graphql.GetPath(ctx),
+ FieldSet: dfs,
+ Context: ctx,
+ })
+ }
+
return out
}
@@ 25515,41 25447,48 @@ var pageInfoImplementors = []string{"PageInfo"}
func (ec *executionContext) _PageInfo(ctx context.Context, sel ast.SelectionSet, obj *model.PageInfo) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, pageInfoImplementors)
+
out := graphql.NewFieldSet(fields)
- var invalids uint32
+ deferred := make(map[string]*graphql.FieldSet)
for i, field := range fields {
switch field.Name {
case "__typename":
out.Values[i] = graphql.MarshalString("PageInfo")
case "cursor":
-
out.Values[i] = ec._PageInfo_cursor(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "hasNextPage":
-
out.Values[i] = ec._PageInfo_hasNextPage(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "hasPrevPage":
-
out.Values[i] = ec._PageInfo_hasPrevPage(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
default:
panic("unknown field " + strconv.Quote(field.Name))
}
}
- out.Dispatch()
- if invalids > 0 {
+ out.Dispatch(ctx)
+ if out.Invalids > 0 {
return graphql.Null
}
+
+ atomic.AddInt32(&ec.deferred, int32(len(deferred)))
+
+ for label, dfs := range deferred {
+ ec.processDeferredGroup(graphql.DeferredGroup{
+ Label: label,
+ Path: graphql.GetPath(ctx),
+ FieldSet: dfs,
+ Context: ctx,
+ })
+ }
+
return out
}
@@ 25557,90 25496,83 @@ var paymentImplementors = []string{"Payment"}
func (ec *executionContext) _Payment(ctx context.Context, sel ast.SelectionSet, obj *model.Payment) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, paymentImplementors)
+
out := graphql.NewFieldSet(fields)
- var invalids uint32
+ deferred := make(map[string]*graphql.FieldSet)
for i, field := range fields {
switch field.Name {
case "__typename":
out.Values[i] = graphql.MarshalString("Payment")
case "id":
-
out.Values[i] = ec._Payment_id(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "amount":
-
out.Values[i] = ec._Payment_amount(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "amountRefunded":
-
out.Values[i] = ec._Payment_amountRefunded(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "hostedInvoiceURL":
-
out.Values[i] = ec._Payment_hostedInvoiceURL(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "createdOn":
-
out.Values[i] = ec._Payment_createdOn(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "amountPaid":
-
out.Values[i] = ec._Payment_amountPaid(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "amountNet":
-
out.Values[i] = ec._Payment_amountNet(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "paymentFee":
-
out.Values[i] = ec._Payment_paymentFee(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "orgId":
-
out.Values[i] = ec._Payment_orgId(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "orgSlug":
-
out.Values[i] = ec._Payment_orgSlug(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
default:
panic("unknown field " + strconv.Quote(field.Name))
}
}
- out.Dispatch()
- if invalids > 0 {
+ out.Dispatch(ctx)
+ if out.Invalids > 0 {
return graphql.Null
}
+
+ atomic.AddInt32(&ec.deferred, int32(len(deferred)))
+
+ for label, dfs := range deferred {
+ ec.processDeferredGroup(graphql.DeferredGroup{
+ Label: label,
+ Path: graphql.GetPath(ctx),
+ FieldSet: dfs,
+ Context: ctx,
+ })
+ }
+
return out
}
@@ 25648,31 25580,40 @@ var paymentCursorImplementors = []string{"PaymentCursor"}
func (ec *executionContext) _PaymentCursor(ctx context.Context, sel ast.SelectionSet, obj *model.PaymentCursor) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, paymentCursorImplementors)
+
out := graphql.NewFieldSet(fields)
- var invalids uint32
+ deferred := make(map[string]*graphql.FieldSet)
for i, field := range fields {
switch field.Name {
case "__typename":
out.Values[i] = graphql.MarshalString("PaymentCursor")
case "result":
-
out.Values[i] = ec._PaymentCursor_result(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "pageInfo":
-
out.Values[i] = ec._PaymentCursor_pageInfo(ctx, field, obj)
-
default:
panic("unknown field " + strconv.Quote(field.Name))
}
}
- out.Dispatch()
- if invalids > 0 {
+ out.Dispatch(ctx)
+ if out.Invalids > 0 {
return graphql.Null
}
+
+ atomic.AddInt32(&ec.deferred, int32(len(deferred)))
+
+ for label, dfs := range deferred {
+ ec.processDeferredGroup(graphql.DeferredGroup{
+ Label: label,
+ Path: graphql.GetPath(ctx),
+ FieldSet: dfs,
+ Context: ctx,
+ })
+ }
+
return out
}
@@ 25680,83 25621,78 @@ var qRCodeImplementors = []string{"QRCode"}
func (ec *executionContext) _QRCode(ctx context.Context, sel ast.SelectionSet, obj *models.QRCode) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, qRCodeImplementors)
+
out := graphql.NewFieldSet(fields)
- var invalids uint32
+ deferred := make(map[string]*graphql.FieldSet)
for i, field := range fields {
switch field.Name {
case "__typename":
out.Values[i] = graphql.MarshalString("QRCode")
case "id":
-
out.Values[i] = ec._QRCode_id(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "title":
-
out.Values[i] = ec._QRCode_title(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "orgId":
-
out.Values[i] = ec._QRCode_orgId(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "codeType":
-
out.Values[i] = ec._QRCode_codeType(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "url":
-
out.Values[i] = ec._QRCode_url(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "imagePath":
-
out.Values[i] = ec._QRCode_imagePath(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "hashId":
-
out.Values[i] = ec._QRCode_hashId(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "createdOn":
-
out.Values[i] = ec._QRCode_createdOn(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "clicks":
-
out.Values[i] = ec._QRCode_clicks(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
default:
panic("unknown field " + strconv.Quote(field.Name))
}
}
- out.Dispatch()
- if invalids > 0 {
+ out.Dispatch(ctx)
+ if out.Invalids > 0 {
return graphql.Null
}
+
+ atomic.AddInt32(&ec.deferred, int32(len(deferred)))
+
+ for label, dfs := range deferred {
+ ec.processDeferredGroup(graphql.DeferredGroup{
+ Label: label,
+ Path: graphql.GetPath(ctx),
+ FieldSet: dfs,
+ Context: ctx,
+ })
+ }
+
return out
}
@@ 25764,55 25700,58 @@ var qRObjectImplementors = []string{"QRObject"}
func (ec *executionContext) _QRObject(ctx context.Context, sel ast.SelectionSet, obj *model.QRObject) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, qRObjectImplementors)
+
out := graphql.NewFieldSet(fields)
- var invalids uint32
+ deferred := make(map[string]*graphql.FieldSet)
for i, field := range fields {
switch field.Name {
case "__typename":
out.Values[i] = graphql.MarshalString("QRObject")
case "qrCodeId":
-
out.Values[i] = ec._QRObject_qrCodeId(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "qrHashId":
-
out.Values[i] = ec._QRObject_qrHashId(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "userId":
-
out.Values[i] = ec._QRObject_userId(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "createdOn":
-
out.Values[i] = ec._QRObject_createdOn(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "title":
-
out.Values[i] = ec._QRObject_title(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
default:
panic("unknown field " + strconv.Quote(field.Name))
}
}
- out.Dispatch()
- if invalids > 0 {
+ out.Dispatch(ctx)
+ if out.Invalids > 0 {
return graphql.Null
}
+
+ atomic.AddInt32(&ec.deferred, int32(len(deferred)))
+
+ for label, dfs := range deferred {
+ ec.processDeferredGroup(graphql.DeferredGroup{
+ Label: label,
+ Path: graphql.GetPath(ctx),
+ FieldSet: dfs,
+ Context: ctx,
+ })
+ }
+
return out
}
@@ 25825,7 25764,7 @@ func (ec *executionContext) _Query(ctx context.Context, sel ast.SelectionSet) gr
})
out := graphql.NewFieldSet(fields)
- var invalids uint32
+ deferred := make(map[string]*graphql.FieldSet)
for i, field := range fields {
innerCtx := graphql.WithRootFieldContext(ctx, &graphql.RootFieldContext{
Object: field.Name,
@@ 25838,7 25777,7 @@ func (ec *executionContext) _Query(ctx context.Context, sel ast.SelectionSet) gr
case "version":
field := field
- innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ innerFunc := func(ctx context.Context, fs *graphql.FieldSet) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ 25846,22 25785,21 @@ func (ec *executionContext) _Query(ctx context.Context, sel ast.SelectionSet) gr
}()
res = ec._Query_version(ctx, field)
if res == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&fs.Invalids, 1)
}
return res
}
rrm := func(ctx context.Context) graphql.Marshaler {
- return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
+ return ec.OperationContext.RootResolverMiddleware(ctx,
+ func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) })
}
- out.Concurrently(i, func() graphql.Marshaler {
- return rrm(innerCtx)
- })
+ out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) })
case "me":
field := field
- innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ innerFunc := func(ctx context.Context, fs *graphql.FieldSet) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ 25869,22 25807,21 @@ func (ec *executionContext) _Query(ctx context.Context, sel ast.SelectionSet) gr
}()
res = ec._Query_me(ctx, field)
if res == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&fs.Invalids, 1)
}
return res
}
rrm := func(ctx context.Context) graphql.Marshaler {
- return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
+ return ec.OperationContext.RootResolverMiddleware(ctx,
+ func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) })
}
- out.Concurrently(i, func() graphql.Marshaler {
- return rrm(innerCtx)
- })
+ out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) })
case "getUsers":
field := field
- innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ innerFunc := func(ctx context.Context, fs *graphql.FieldSet) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ 25892,22 25829,21 @@ func (ec *executionContext) _Query(ctx context.Context, sel ast.SelectionSet) gr
}()
res = ec._Query_getUsers(ctx, field)
if res == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&fs.Invalids, 1)
}
return res
}
rrm := func(ctx context.Context) graphql.Marshaler {
- return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
+ return ec.OperationContext.RootResolverMiddleware(ctx,
+ func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) })
}
- out.Concurrently(i, func() graphql.Marshaler {
- return rrm(innerCtx)
- })
+ out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) })
case "getUser":
field := field
- innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ innerFunc := func(ctx context.Context, fs *graphql.FieldSet) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ 25915,22 25851,21 @@ func (ec *executionContext) _Query(ctx context.Context, sel ast.SelectionSet) gr
}()
res = ec._Query_getUser(ctx, field)
if res == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&fs.Invalids, 1)
}
return res
}
rrm := func(ctx context.Context) graphql.Marshaler {
- return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
+ return ec.OperationContext.RootResolverMiddleware(ctx,
+ func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) })
}
- out.Concurrently(i, func() graphql.Marshaler {
- return rrm(innerCtx)
- })
+ out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) })
case "getOrganizations":
field := field
- innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ innerFunc := func(ctx context.Context, fs *graphql.FieldSet) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ 25938,22 25873,21 @@ func (ec *executionContext) _Query(ctx context.Context, sel ast.SelectionSet) gr
}()
res = ec._Query_getOrganizations(ctx, field)
if res == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&fs.Invalids, 1)
}
return res
}
rrm := func(ctx context.Context) graphql.Marshaler {
- return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
+ return ec.OperationContext.RootResolverMiddleware(ctx,
+ func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) })
}
- out.Concurrently(i, func() graphql.Marshaler {
- return rrm(innerCtx)
- })
+ out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) })
case "getOrganization":
field := field
- innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ 25964,16 25898,15 @@ func (ec *executionContext) _Query(ctx context.Context, sel ast.SelectionSet) gr
}
rrm := func(ctx context.Context) graphql.Marshaler {
- return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
+ return ec.OperationContext.RootResolverMiddleware(ctx,
+ func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) })
}
- out.Concurrently(i, func() graphql.Marshaler {
- return rrm(innerCtx)
- })
+ out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) })
case "getPaymentHistory":
field := field
- innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ innerFunc := func(ctx context.Context, fs *graphql.FieldSet) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ 25981,22 25914,21 @@ func (ec *executionContext) _Query(ctx context.Context, sel ast.SelectionSet) gr
}()
res = ec._Query_getPaymentHistory(ctx, field)
if res == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&fs.Invalids, 1)
}
return res
}
rrm := func(ctx context.Context) graphql.Marshaler {
- return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
+ return ec.OperationContext.RootResolverMiddleware(ctx,
+ func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) })
}
- out.Concurrently(i, func() graphql.Marshaler {
- return rrm(innerCtx)
- })
+ out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) })
case "getPopularLinks":
field := field
- innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ innerFunc := func(ctx context.Context, fs *graphql.FieldSet) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ 26004,22 25936,21 @@ func (ec *executionContext) _Query(ctx context.Context, sel ast.SelectionSet) gr
}()
res = ec._Query_getPopularLinks(ctx, field)
if res == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&fs.Invalids, 1)
}
return res
}
rrm := func(ctx context.Context) graphql.Marshaler {
- return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
+ return ec.OperationContext.RootResolverMiddleware(ctx,
+ func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) })
}
- out.Concurrently(i, func() graphql.Marshaler {
- return rrm(innerCtx)
- })
+ out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) })
case "getOrgLink":
field := field
- innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ 26030,16 25961,15 @@ func (ec *executionContext) _Query(ctx context.Context, sel ast.SelectionSet) gr
}
rrm := func(ctx context.Context) graphql.Marshaler {
- return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
+ return ec.OperationContext.RootResolverMiddleware(ctx,
+ func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) })
}
- out.Concurrently(i, func() graphql.Marshaler {
- return rrm(innerCtx)
- })
+ out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) })
case "getOrgLinks":
field := field
- innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ innerFunc := func(ctx context.Context, fs *graphql.FieldSet) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ 26047,22 25977,21 @@ func (ec *executionContext) _Query(ctx context.Context, sel ast.SelectionSet) gr
}()
res = ec._Query_getOrgLinks(ctx, field)
if res == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&fs.Invalids, 1)
}
return res
}
rrm := func(ctx context.Context) graphql.Marshaler {
- return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
+ return ec.OperationContext.RootResolverMiddleware(ctx,
+ func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) })
}
- out.Concurrently(i, func() graphql.Marshaler {
- return rrm(innerCtx)
- })
+ out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) })
case "getOrgMembers":
field := field
- innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ innerFunc := func(ctx context.Context, fs *graphql.FieldSet) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ 26070,22 25999,21 @@ func (ec *executionContext) _Query(ctx context.Context, sel ast.SelectionSet) gr
}()
res = ec._Query_getOrgMembers(ctx, field)
if res == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&fs.Invalids, 1)
}
return res
}
rrm := func(ctx context.Context) graphql.Marshaler {
- return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
+ return ec.OperationContext.RootResolverMiddleware(ctx,
+ func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) })
}
- out.Concurrently(i, func() graphql.Marshaler {
- return rrm(innerCtx)
- })
+ out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) })
case "getDomains":
field := field
- innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ innerFunc := func(ctx context.Context, fs *graphql.FieldSet) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ 26093,22 26021,21 @@ func (ec *executionContext) _Query(ctx context.Context, sel ast.SelectionSet) gr
}()
res = ec._Query_getDomains(ctx, field)
if res == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&fs.Invalids, 1)
}
return res
}
rrm := func(ctx context.Context) graphql.Marshaler {
- return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
+ return ec.OperationContext.RootResolverMiddleware(ctx,
+ func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) })
}
- out.Concurrently(i, func() graphql.Marshaler {
- return rrm(innerCtx)
- })
+ out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) })
case "getDomain":
field := field
- innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ innerFunc := func(ctx context.Context, fs *graphql.FieldSet) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ 26116,22 26043,21 @@ func (ec *executionContext) _Query(ctx context.Context, sel ast.SelectionSet) gr
}()
res = ec._Query_getDomain(ctx, field)
if res == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&fs.Invalids, 1)
}
return res
}
rrm := func(ctx context.Context) graphql.Marshaler {
- return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
+ return ec.OperationContext.RootResolverMiddleware(ctx,
+ func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) })
}
- out.Concurrently(i, func() graphql.Marshaler {
- return rrm(innerCtx)
- })
+ out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) })
case "getLinkShorts":
field := field
- innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ innerFunc := func(ctx context.Context, fs *graphql.FieldSet) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ 26139,22 26065,21 @@ func (ec *executionContext) _Query(ctx context.Context, sel ast.SelectionSet) gr
}()
res = ec._Query_getLinkShorts(ctx, field)
if res == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&fs.Invalids, 1)
}
return res
}
rrm := func(ctx context.Context) graphql.Marshaler {
- return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
+ return ec.OperationContext.RootResolverMiddleware(ctx,
+ func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) })
}
- out.Concurrently(i, func() graphql.Marshaler {
- return rrm(innerCtx)
- })
+ out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) })
case "getLinkShort":
field := field
- innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ innerFunc := func(ctx context.Context, fs *graphql.FieldSet) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ 26162,22 26087,21 @@ func (ec *executionContext) _Query(ctx context.Context, sel ast.SelectionSet) gr
}()
res = ec._Query_getLinkShort(ctx, field)
if res == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&fs.Invalids, 1)
}
return res
}
rrm := func(ctx context.Context) graphql.Marshaler {
- return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
+ return ec.OperationContext.RootResolverMiddleware(ctx,
+ func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) })
}
- out.Concurrently(i, func() graphql.Marshaler {
- return rrm(innerCtx)
- })
+ out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) })
case "getListings":
field := field
- innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ innerFunc := func(ctx context.Context, fs *graphql.FieldSet) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ 26185,22 26109,21 @@ func (ec *executionContext) _Query(ctx context.Context, sel ast.SelectionSet) gr
}()
res = ec._Query_getListings(ctx, field)
if res == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&fs.Invalids, 1)
}
return res
}
rrm := func(ctx context.Context) graphql.Marshaler {
- return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
+ return ec.OperationContext.RootResolverMiddleware(ctx,
+ func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) })
}
- out.Concurrently(i, func() graphql.Marshaler {
- return rrm(innerCtx)
- })
+ out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) })
case "getListing":
field := field
- innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ innerFunc := func(ctx context.Context, fs *graphql.FieldSet) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ 26208,22 26131,21 @@ func (ec *executionContext) _Query(ctx context.Context, sel ast.SelectionSet) gr
}()
res = ec._Query_getListing(ctx, field)
if res == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&fs.Invalids, 1)
}
return res
}
rrm := func(ctx context.Context) graphql.Marshaler {
- return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
+ return ec.OperationContext.RootResolverMiddleware(ctx,
+ func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) })
}
- out.Concurrently(i, func() graphql.Marshaler {
- return rrm(innerCtx)
- })
+ out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) })
case "getListingLink":
field := field
- innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ innerFunc := func(ctx context.Context, fs *graphql.FieldSet) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ 26231,22 26153,21 @@ func (ec *executionContext) _Query(ctx context.Context, sel ast.SelectionSet) gr
}()
res = ec._Query_getListingLink(ctx, field)
if res == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&fs.Invalids, 1)
}
return res
}
rrm := func(ctx context.Context) graphql.Marshaler {
- return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
+ return ec.OperationContext.RootResolverMiddleware(ctx,
+ func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) })
}
- out.Concurrently(i, func() graphql.Marshaler {
- return rrm(innerCtx)
- })
+ out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) })
case "getQRList":
field := field
- innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ innerFunc := func(ctx context.Context, fs *graphql.FieldSet) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ 26254,22 26175,21 @@ func (ec *executionContext) _Query(ctx context.Context, sel ast.SelectionSet) gr
}()
res = ec._Query_getQRList(ctx, field)
if res == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&fs.Invalids, 1)
}
return res
}
rrm := func(ctx context.Context) graphql.Marshaler {
- return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
+ return ec.OperationContext.RootResolverMiddleware(ctx,
+ func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) })
}
- out.Concurrently(i, func() graphql.Marshaler {
- return rrm(innerCtx)
- })
+ out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) })
case "getQRDetail":
field := field
- innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ innerFunc := func(ctx context.Context, fs *graphql.FieldSet) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ 26277,22 26197,21 @@ func (ec *executionContext) _Query(ctx context.Context, sel ast.SelectionSet) gr
}()
res = ec._Query_getQRDetail(ctx, field)
if res == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&fs.Invalids, 1)
}
return res
}
rrm := func(ctx context.Context) graphql.Marshaler {
- return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
+ return ec.OperationContext.RootResolverMiddleware(ctx,
+ func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) })
}
- out.Concurrently(i, func() graphql.Marshaler {
- return rrm(innerCtx)
- })
+ out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) })
case "analytics":
field := field
- innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ innerFunc := func(ctx context.Context, fs *graphql.FieldSet) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ 26300,22 26219,21 @@ func (ec *executionContext) _Query(ctx context.Context, sel ast.SelectionSet) gr
}()
res = ec._Query_analytics(ctx, field)
if res == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&fs.Invalids, 1)
}
return res
}
rrm := func(ctx context.Context) graphql.Marshaler {
- return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
+ return ec.OperationContext.RootResolverMiddleware(ctx,
+ func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) })
}
- out.Concurrently(i, func() graphql.Marshaler {
- return rrm(innerCtx)
- })
+ out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) })
case "getFeed":
field := field
- innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ innerFunc := func(ctx context.Context, fs *graphql.FieldSet) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ 26323,22 26241,21 @@ func (ec *executionContext) _Query(ctx context.Context, sel ast.SelectionSet) gr
}()
res = ec._Query_getFeed(ctx, field)
if res == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&fs.Invalids, 1)
}
return res
}
rrm := func(ctx context.Context) graphql.Marshaler {
- return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
+ return ec.OperationContext.RootResolverMiddleware(ctx,
+ func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) })
}
- out.Concurrently(i, func() graphql.Marshaler {
- return rrm(innerCtx)
- })
+ out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) })
case "getFeedFollowing":
field := field
- innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ innerFunc := func(ctx context.Context, fs *graphql.FieldSet) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ 26346,22 26263,21 @@ func (ec *executionContext) _Query(ctx context.Context, sel ast.SelectionSet) gr
}()
res = ec._Query_getFeedFollowing(ctx, field)
if res == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&fs.Invalids, 1)
}
return res
}
rrm := func(ctx context.Context) graphql.Marshaler {
- return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
+ return ec.OperationContext.RootResolverMiddleware(ctx,
+ func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) })
}
- out.Concurrently(i, func() graphql.Marshaler {
- return rrm(innerCtx)
- })
+ out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) })
case "getAdminOrganizations":
field := field
- innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ innerFunc := func(ctx context.Context, fs *graphql.FieldSet) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ 26369,22 26285,21 @@ func (ec *executionContext) _Query(ctx context.Context, sel ast.SelectionSet) gr
}()
res = ec._Query_getAdminOrganizations(ctx, field)
if res == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&fs.Invalids, 1)
}
return res
}
rrm := func(ctx context.Context) graphql.Marshaler {
- return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
+ return ec.OperationContext.RootResolverMiddleware(ctx,
+ func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) })
}
- out.Concurrently(i, func() graphql.Marshaler {
- return rrm(innerCtx)
- })
+ out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) })
case "getAdminOrgStats":
field := field
- innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ innerFunc := func(ctx context.Context, fs *graphql.FieldSet) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ 26392,22 26307,21 @@ func (ec *executionContext) _Query(ctx context.Context, sel ast.SelectionSet) gr
}()
res = ec._Query_getAdminOrgStats(ctx, field)
if res == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&fs.Invalids, 1)
}
return res
}
rrm := func(ctx context.Context) graphql.Marshaler {
- return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
+ return ec.OperationContext.RootResolverMiddleware(ctx,
+ func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) })
}
- out.Concurrently(i, func() graphql.Marshaler {
- return rrm(innerCtx)
- })
+ out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) })
case "getAdminBillingStats":
field := field
- innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ innerFunc := func(ctx context.Context, fs *graphql.FieldSet) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ 26415,22 26329,21 @@ func (ec *executionContext) _Query(ctx context.Context, sel ast.SelectionSet) gr
}()
res = ec._Query_getAdminBillingStats(ctx, field)
if res == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&fs.Invalids, 1)
}
return res
}
rrm := func(ctx context.Context) graphql.Marshaler {
- return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
+ return ec.OperationContext.RootResolverMiddleware(ctx,
+ func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) })
}
- out.Concurrently(i, func() graphql.Marshaler {
- return rrm(innerCtx)
- })
+ out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) })
case "getAdminDomains":
field := field
- innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ innerFunc := func(ctx context.Context, fs *graphql.FieldSet) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ 26438,38 26351,45 @@ func (ec *executionContext) _Query(ctx context.Context, sel ast.SelectionSet) gr
}()
res = ec._Query_getAdminDomains(ctx, field)
if res == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&fs.Invalids, 1)
}
return res
}
rrm := func(ctx context.Context) graphql.Marshaler {
- return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
+ return ec.OperationContext.RootResolverMiddleware(ctx,
+ func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) })
}
- out.Concurrently(i, func() graphql.Marshaler {
- return rrm(innerCtx)
- })
+ out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) })
case "__type":
-
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
return ec._Query___type(ctx, field)
})
-
case "__schema":
-
out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
return ec._Query___schema(ctx, field)
})
-
default:
panic("unknown field " + strconv.Quote(field.Name))
}
}
- out.Dispatch()
- if invalids > 0 {
+ out.Dispatch(ctx)
+ if out.Invalids > 0 {
return graphql.Null
}
+
+ atomic.AddInt32(&ec.deferred, int32(len(deferred)))
+
+ for label, dfs := range deferred {
+ ec.processDeferredGroup(graphql.DeferredGroup{
+ Label: label,
+ Path: graphql.GetPath(ctx),
+ FieldSet: dfs,
+ Context: ctx,
+ })
+ }
+
return out
}
@@ 26477,27 26397,38 @@ var registerInvitationImplementors = []string{"RegisterInvitation"}
func (ec *executionContext) _RegisterInvitation(ctx context.Context, sel ast.SelectionSet, obj *model.RegisterInvitation) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, registerInvitationImplementors)
+
out := graphql.NewFieldSet(fields)
- var invalids uint32
+ deferred := make(map[string]*graphql.FieldSet)
for i, field := range fields {
switch field.Name {
case "__typename":
out.Values[i] = graphql.MarshalString("RegisterInvitation")
case "email":
-
out.Values[i] = ec._RegisterInvitation_email(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
default:
panic("unknown field " + strconv.Quote(field.Name))
}
}
- out.Dispatch()
- if invalids > 0 {
+ out.Dispatch(ctx)
+ if out.Invalids > 0 {
return graphql.Null
}
+
+ atomic.AddInt32(&ec.deferred, int32(len(deferred)))
+
+ for label, dfs := range deferred {
+ ec.processDeferredGroup(graphql.DeferredGroup{
+ Label: label,
+ Path: graphql.GetPath(ctx),
+ FieldSet: dfs,
+ Context: ctx,
+ })
+ }
+
return out
}
@@ 26505,40 26436,43 @@ var socialLinksImplementors = []string{"SocialLinks"}
func (ec *executionContext) _SocialLinks(ctx context.Context, sel ast.SelectionSet, obj *models.SocialLinks) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, socialLinksImplementors)
+
out := graphql.NewFieldSet(fields)
- var invalids uint32
+ deferred := make(map[string]*graphql.FieldSet)
for i, field := range fields {
switch field.Name {
case "__typename":
out.Values[i] = graphql.MarshalString("SocialLinks")
case "facebook":
-
out.Values[i] = ec._SocialLinks_facebook(ctx, field, obj)
-
case "instagram":
-
out.Values[i] = ec._SocialLinks_instagram(ctx, field, obj)
-
case "twitter":
-
out.Values[i] = ec._SocialLinks_twitter(ctx, field, obj)
-
case "tiktok":
-
out.Values[i] = ec._SocialLinks_tiktok(ctx, field, obj)
-
case "youtube":
-
out.Values[i] = ec._SocialLinks_youtube(ctx, field, obj)
-
default:
panic("unknown field " + strconv.Quote(field.Name))
}
}
- out.Dispatch()
- if invalids > 0 {
+ out.Dispatch(ctx)
+ if out.Invalids > 0 {
return graphql.Null
}
+
+ atomic.AddInt32(&ec.deferred, int32(len(deferred)))
+
+ for label, dfs := range deferred {
+ ec.processDeferredGroup(graphql.DeferredGroup{
+ Label: label,
+ Path: graphql.GetPath(ctx),
+ FieldSet: dfs,
+ Context: ctx,
+ })
+ }
+
return out
}
@@ 26546,48 26480,53 @@ var tagImplementors = []string{"Tag"}
func (ec *executionContext) _Tag(ctx context.Context, sel ast.SelectionSet, obj *models.Tag) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, tagImplementors)
+
out := graphql.NewFieldSet(fields)
- var invalids uint32
+ deferred := make(map[string]*graphql.FieldSet)
for i, field := range fields {
switch field.Name {
case "__typename":
out.Values[i] = graphql.MarshalString("Tag")
case "id":
-
out.Values[i] = ec._Tag_id(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "name":
-
out.Values[i] = ec._Tag_name(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "slug":
-
out.Values[i] = ec._Tag_slug(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "createdOn":
-
out.Values[i] = ec._Tag_createdOn(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
default:
panic("unknown field " + strconv.Quote(field.Name))
}
}
- out.Dispatch()
- if invalids > 0 {
+ out.Dispatch(ctx)
+ if out.Invalids > 0 {
return graphql.Null
}
+
+ atomic.AddInt32(&ec.deferred, int32(len(deferred)))
+
+ for label, dfs := range deferred {
+ ec.processDeferredGroup(graphql.DeferredGroup{
+ Label: label,
+ Path: graphql.GetPath(ctx),
+ FieldSet: dfs,
+ Context: ctx,
+ })
+ }
+
return out
}
@@ 26595,8 26534,9 @@ var userImplementors = []string{"User"}
func (ec *executionContext) _User(ctx context.Context, sel ast.SelectionSet, obj *models.User) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, userImplementors)
+
out := graphql.NewFieldSet(fields)
- var invalids uint32
+ deferred := make(map[string]*graphql.FieldSet)
for i, field := range fields {
switch field.Name {
case "__typename":
@@ 26604,7 26544,7 @@ func (ec *executionContext) _User(ctx context.Context, sel ast.SelectionSet, obj
case "id":
field := field
- innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ innerFunc := func(ctx context.Context, fs *graphql.FieldSet) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ 26612,65 26552,81 @@ func (ec *executionContext) _User(ctx context.Context, sel ast.SelectionSet, obj
}()
res = ec._User_id(ctx, field, obj)
if res == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&fs.Invalids, 1)
}
return res
}
- out.Concurrently(i, func() graphql.Marshaler {
- return innerFunc(ctx)
+ if field.Deferrable != nil {
+ dfs, ok := deferred[field.Deferrable.Label]
+ di := 0
+ if ok {
+ dfs.AddField(field)
+ di = len(dfs.Values) - 1
+ } else {
+ dfs = graphql.NewFieldSet([]graphql.CollectedField{field})
+ deferred[field.Deferrable.Label] = dfs
+ }
+ dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler {
+ return innerFunc(ctx, dfs)
+ })
- })
- case "name":
+ // don't run the out.Concurrently() call below
+ out.Values[i] = graphql.Null
+ continue
+ }
+ out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) })
+ case "name":
out.Values[i] = ec._User_name(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&out.Invalids, 1)
}
case "email":
-
out.Values[i] = ec._User_email(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&out.Invalids, 1)
}
case "createdOn":
-
out.Values[i] = ec._User_createdOn(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&out.Invalids, 1)
}
case "isEmailVerified":
-
out.Values[i] = ec._User_isEmailVerified(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&out.Invalids, 1)
}
case "isLocked":
-
out.Values[i] = ec._User_isLocked(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&out.Invalids, 1)
}
case "lockReason":
-
out.Values[i] = ec._User_lockReason(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- atomic.AddUint32(&invalids, 1)
+ atomic.AddUint32(&out.Invalids, 1)
}
default:
panic("unknown field " + strconv.Quote(field.Name))
}
}
- out.Dispatch()
- if invalids > 0 {
+ out.Dispatch(ctx)
+ if out.Invalids > 0 {
return graphql.Null
}
+
+ atomic.AddInt32(&ec.deferred, int32(len(deferred)))
+
+ for label, dfs := range deferred {
+ ec.processDeferredGroup(graphql.DeferredGroup{
+ Label: label,
+ Path: graphql.GetPath(ctx),
+ FieldSet: dfs,
+ Context: ctx,
+ })
+ }
+
return out
}
@@ 26678,31 26634,40 @@ var userCursorImplementors = []string{"UserCursor"}
func (ec *executionContext) _UserCursor(ctx context.Context, sel ast.SelectionSet, obj *model.UserCursor) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, userCursorImplementors)
+
out := graphql.NewFieldSet(fields)
- var invalids uint32
+ deferred := make(map[string]*graphql.FieldSet)
for i, field := range fields {
switch field.Name {
case "__typename":
out.Values[i] = graphql.MarshalString("UserCursor")
case "result":
-
out.Values[i] = ec._UserCursor_result(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "pageInfo":
-
out.Values[i] = ec._UserCursor_pageInfo(ctx, field, obj)
-
default:
panic("unknown field " + strconv.Quote(field.Name))
}
}
- out.Dispatch()
- if invalids > 0 {
+ out.Dispatch(ctx)
+ if out.Invalids > 0 {
return graphql.Null
}
+
+ atomic.AddInt32(&ec.deferred, int32(len(deferred)))
+
+ for label, dfs := range deferred {
+ ec.processDeferredGroup(graphql.DeferredGroup{
+ Label: label,
+ Path: graphql.GetPath(ctx),
+ FieldSet: dfs,
+ Context: ctx,
+ })
+ }
+
return out
}
@@ 26710,45 26675,50 @@ var versionImplementors = []string{"Version"}
func (ec *executionContext) _Version(ctx context.Context, sel ast.SelectionSet, obj *model.Version) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, versionImplementors)
+
out := graphql.NewFieldSet(fields)
- var invalids uint32
+ deferred := make(map[string]*graphql.FieldSet)
for i, field := range fields {
switch field.Name {
case "__typename":
out.Values[i] = graphql.MarshalString("Version")
case "major":
-
out.Values[i] = ec._Version_major(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "minor":
-
out.Values[i] = ec._Version_minor(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "patch":
-
out.Values[i] = ec._Version_patch(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "deprecationDate":
-
out.Values[i] = ec._Version_deprecationDate(ctx, field, obj)
-
default:
panic("unknown field " + strconv.Quote(field.Name))
}
}
- out.Dispatch()
- if invalids > 0 {
+ out.Dispatch(ctx)
+ if out.Invalids > 0 {
return graphql.Null
}
+
+ atomic.AddInt32(&ec.deferred, int32(len(deferred)))
+
+ for label, dfs := range deferred {
+ ec.processDeferredGroup(graphql.DeferredGroup{
+ Label: label,
+ Path: graphql.GetPath(ctx),
+ FieldSet: dfs,
+ Context: ctx,
+ })
+ }
+
return out
}
@@ 26756,52 26726,55 @@ var __DirectiveImplementors = []string{"__Directive"}
func (ec *executionContext) ___Directive(ctx context.Context, sel ast.SelectionSet, obj *introspection.Directive) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, __DirectiveImplementors)
+
out := graphql.NewFieldSet(fields)
- var invalids uint32
+ deferred := make(map[string]*graphql.FieldSet)
for i, field := range fields {
switch field.Name {
case "__typename":
out.Values[i] = graphql.MarshalString("__Directive")
case "name":
-
out.Values[i] = ec.___Directive_name(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "description":
-
out.Values[i] = ec.___Directive_description(ctx, field, obj)
-
case "locations":
-
out.Values[i] = ec.___Directive_locations(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "args":
-
out.Values[i] = ec.___Directive_args(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "isRepeatable":
-
out.Values[i] = ec.___Directive_isRepeatable(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
default:
panic("unknown field " + strconv.Quote(field.Name))
}
}
- out.Dispatch()
- if invalids > 0 {
+ out.Dispatch(ctx)
+ if out.Invalids > 0 {
return graphql.Null
}
+
+ atomic.AddInt32(&ec.deferred, int32(len(deferred)))
+
+ for label, dfs := range deferred {
+ ec.processDeferredGroup(graphql.DeferredGroup{
+ Label: label,
+ Path: graphql.GetPath(ctx),
+ FieldSet: dfs,
+ Context: ctx,
+ })
+ }
+
return out
}
@@ 26809,42 26782,47 @@ var __EnumValueImplementors = []string{"__EnumValue"}
func (ec *executionContext) ___EnumValue(ctx context.Context, sel ast.SelectionSet, obj *introspection.EnumValue) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, __EnumValueImplementors)
+
out := graphql.NewFieldSet(fields)
- var invalids uint32
+ deferred := make(map[string]*graphql.FieldSet)
for i, field := range fields {
switch field.Name {
case "__typename":
out.Values[i] = graphql.MarshalString("__EnumValue")
case "name":
-
out.Values[i] = ec.___EnumValue_name(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "description":
-
out.Values[i] = ec.___EnumValue_description(ctx, field, obj)
-
case "isDeprecated":
-
out.Values[i] = ec.___EnumValue_isDeprecated(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "deprecationReason":
-
out.Values[i] = ec.___EnumValue_deprecationReason(ctx, field, obj)
-
default:
panic("unknown field " + strconv.Quote(field.Name))
}
}
- out.Dispatch()
- if invalids > 0 {
+ out.Dispatch(ctx)
+ if out.Invalids > 0 {
return graphql.Null
}
+
+ atomic.AddInt32(&ec.deferred, int32(len(deferred)))
+
+ for label, dfs := range deferred {
+ ec.processDeferredGroup(graphql.DeferredGroup{
+ Label: label,
+ Path: graphql.GetPath(ctx),
+ FieldSet: dfs,
+ Context: ctx,
+ })
+ }
+
return out
}
@@ 26852,56 26830,57 @@ var __FieldImplementors = []string{"__Field"}
func (ec *executionContext) ___Field(ctx context.Context, sel ast.SelectionSet, obj *introspection.Field) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, __FieldImplementors)
+
out := graphql.NewFieldSet(fields)
- var invalids uint32
+ deferred := make(map[string]*graphql.FieldSet)
for i, field := range fields {
switch field.Name {
case "__typename":
out.Values[i] = graphql.MarshalString("__Field")
case "name":
-
out.Values[i] = ec.___Field_name(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "description":
-
out.Values[i] = ec.___Field_description(ctx, field, obj)
-
case "args":
-
out.Values[i] = ec.___Field_args(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "type":
-
out.Values[i] = ec.___Field_type(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "isDeprecated":
-
out.Values[i] = ec.___Field_isDeprecated(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "deprecationReason":
-
out.Values[i] = ec.___Field_deprecationReason(ctx, field, obj)
-
default:
panic("unknown field " + strconv.Quote(field.Name))
}
}
- out.Dispatch()
- if invalids > 0 {
+ out.Dispatch(ctx)
+ if out.Invalids > 0 {
return graphql.Null
}
+
+ atomic.AddInt32(&ec.deferred, int32(len(deferred)))
+
+ for label, dfs := range deferred {
+ ec.processDeferredGroup(graphql.DeferredGroup{
+ Label: label,
+ Path: graphql.GetPath(ctx),
+ FieldSet: dfs,
+ Context: ctx,
+ })
+ }
+
return out
}
@@ 26909,42 26888,47 @@ var __InputValueImplementors = []string{"__InputValue"}
func (ec *executionContext) ___InputValue(ctx context.Context, sel ast.SelectionSet, obj *introspection.InputValue) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, __InputValueImplementors)
+
out := graphql.NewFieldSet(fields)
- var invalids uint32
+ deferred := make(map[string]*graphql.FieldSet)
for i, field := range fields {
switch field.Name {
case "__typename":
out.Values[i] = graphql.MarshalString("__InputValue")
case "name":
-
out.Values[i] = ec.___InputValue_name(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "description":
-
out.Values[i] = ec.___InputValue_description(ctx, field, obj)
-
case "type":
-
out.Values[i] = ec.___InputValue_type(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "defaultValue":
-
out.Values[i] = ec.___InputValue_defaultValue(ctx, field, obj)
-
default:
panic("unknown field " + strconv.Quote(field.Name))
}
}
- out.Dispatch()
- if invalids > 0 {
+ out.Dispatch(ctx)
+ if out.Invalids > 0 {
return graphql.Null
}
+
+ atomic.AddInt32(&ec.deferred, int32(len(deferred)))
+
+ for label, dfs := range deferred {
+ ec.processDeferredGroup(graphql.DeferredGroup{
+ Label: label,
+ Path: graphql.GetPath(ctx),
+ FieldSet: dfs,
+ Context: ctx,
+ })
+ }
+
return out
}
@@ 26952,53 26936,54 @@ var __SchemaImplementors = []string{"__Schema"}
func (ec *executionContext) ___Schema(ctx context.Context, sel ast.SelectionSet, obj *introspection.Schema) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, __SchemaImplementors)
+
out := graphql.NewFieldSet(fields)
- var invalids uint32
+ deferred := make(map[string]*graphql.FieldSet)
for i, field := range fields {
switch field.Name {
case "__typename":
out.Values[i] = graphql.MarshalString("__Schema")
case "description":
-
out.Values[i] = ec.___Schema_description(ctx, field, obj)
-
case "types":
-
out.Values[i] = ec.___Schema_types(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "queryType":
-
out.Values[i] = ec.___Schema_queryType(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "mutationType":
-
out.Values[i] = ec.___Schema_mutationType(ctx, field, obj)
-
case "subscriptionType":
-
out.Values[i] = ec.___Schema_subscriptionType(ctx, field, obj)
-
case "directives":
-
out.Values[i] = ec.___Schema_directives(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
default:
panic("unknown field " + strconv.Quote(field.Name))
}
}
- out.Dispatch()
- if invalids > 0 {
+ out.Dispatch(ctx)
+ if out.Invalids > 0 {
return graphql.Null
}
+
+ atomic.AddInt32(&ec.deferred, int32(len(deferred)))
+
+ for label, dfs := range deferred {
+ ec.processDeferredGroup(graphql.DeferredGroup{
+ Label: label,
+ Path: graphql.GetPath(ctx),
+ FieldSet: dfs,
+ Context: ctx,
+ })
+ }
+
return out
}
@@ 27006,63 26991,56 @@ var __TypeImplementors = []string{"__Type"}
func (ec *executionContext) ___Type(ctx context.Context, sel ast.SelectionSet, obj *introspection.Type) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, __TypeImplementors)
+
out := graphql.NewFieldSet(fields)
- var invalids uint32
+ deferred := make(map[string]*graphql.FieldSet)
for i, field := range fields {
switch field.Name {
case "__typename":
out.Values[i] = graphql.MarshalString("__Type")
case "kind":
-
out.Values[i] = ec.___Type_kind(ctx, field, obj)
-
if out.Values[i] == graphql.Null {
- invalids++
+ out.Invalids++
}
case "name":
-
out.Values[i] = ec.___Type_name(ctx, field, obj)
-
case "description":
-
out.Values[i] = ec.___Type_description(ctx, field, obj)
-
case "fields":
-
out.Values[i] = ec.___Type_fields(ctx, field, obj)
-
case "interfaces":
-
out.Values[i] = ec.___Type_interfaces(ctx, field, obj)
-
case "possibleTypes":
-
out.Values[i] = ec.___Type_possibleTypes(ctx, field, obj)
-
case "enumValues":
-
out.Values[i] = ec.___Type_enumValues(ctx, field, obj)
-
case "inputFields":
-
out.Values[i] = ec.___Type_inputFields(ctx, field, obj)
-
case "ofType":
-
out.Values[i] = ec.___Type_ofType(ctx, field, obj)
-
case "specifiedByURL":
-
out.Values[i] = ec.___Type_specifiedByURL(ctx, field, obj)
-
default:
panic("unknown field " + strconv.Quote(field.Name))
}
}
- out.Dispatch()
- if invalids > 0 {
+ out.Dispatch(ctx)
+ if out.Invalids > 0 {
return graphql.Null
}
+
+ atomic.AddInt32(&ec.deferred, int32(len(deferred)))
+
+ for label, dfs := range deferred {
+ ec.processDeferredGroup(graphql.DeferredGroup{
+ Label: label,
+ Path: graphql.GetPath(ctx),
+ FieldSet: dfs,
+ Context: ctx,
+ })
+ }
+
return out
}