MCPcopy
hub / github.com/dgraph-io/dgraph / initChildAttrId

Method initChildAttrId

query/outputnode_graphql.go:602–607  ·  view source on GitHub ↗
(field gqlSchema.Field)

Source from the content-addressed store, hash-verified

600}
601
602func (genc *graphQLEncoder) initChildAttrId(field gqlSchema.Field) {
603 for _, f := range field.SelectionSet() {
604 _ = genc.idForAttr(f.DgraphAlias())
605 genc.initChildAttrId(f)
606 }
607}
608
609func (genc *graphQLEncoder) processCustomFields(field gqlSchema.Field, n fastJsonNode) {
610 if field.HasCustomHTTPChild() {

Callers 1

processCustomFieldsMethod · 0.95

Calls 3

idForAttrMethod · 0.80
SelectionSetMethod · 0.65
DgraphAliasMethod · 0.65

Tested by

no test coverage detected