MCPcopy
hub / github.com/hasura/graphql-engine / BuildJSONMetadata

Method BuildJSONMetadata

cli/internal/projectmetadata/handler.go:166–173  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

164}
165
166func (h *Handler) BuildJSONMetadata() ([]byte, error) {
167 var op internalerrors.Op = "projectmetadata.Handler.BuildJSONMetadata"
168 metadata, err := h.buildMetadata()
169 if err != nil {
170 return nil, internalerrors.E(op, err)
171 }
172 return metadata.JSON()
173}
174
175func (h *Handler) V1ApplyMetadata() (io.Reader, error) {
176 var op internalerrors.Op = "projectmetadata.Handler.V1ApplyMetadata"

Callers 4

V1ApplyMetadataMethod · 0.95
V2ApplyMetadataMethod · 0.95
ApplyMethod · 0.80
ParseMethod · 0.80

Calls 2

buildMetadataMethod · 0.95
JSONMethod · 0.80

Tested by

no test coverage detected