17 lines
643 B
Cheetah
17 lines
643 B
Cheetah
{{/*
|
|
Copyright 2019-present Facebook Inc. All rights reserved.
|
|
This source code is licensed under the Apache 2.0 license found
|
|
in the LICENSE file in the root directory of this source tree.
|
|
*/}}
|
|
|
|
{{/* The line below tells Intellij/GoLand to enable the autocompletion based *gen.Graph type. */}}
|
|
{{/* gotype: entgo.io/ent/entc/gen.Graph */}}
|
|
|
|
{{ define "config/options/schemaconfig" }}
|
|
// SchemaConfigFromContext exports the internal.SchemaConfigFromContext
|
|
// for external usage (inside custom predicates or modifiers).
|
|
func SchemaConfigFromContext(ctx context.Context) SchemaConfig {
|
|
return internal.SchemaConfigFromContext(ctx)
|
|
}
|
|
{{ end }}
|