package
0.2.0-beta.2
Repository: https://github.com/openfga/language.git
Documentation: pkg.go.dev

# Functions

LoadJSONStringToProto - Converts models authored in OpenFGA JSON syntax to the protobuf representation.
MustTransformDSLToJSON - Calls TransformDSLToJSON - panics if the error fails.
MustTransformDSLToProto - Calls TransformDSLToProto - panics if the error fails.
No description provided by the author
No description provided by the author
TransformDSLToJSON - Converts models authored in FGA DSL syntax to the json syntax accepted by the OpenFGA API.
TransformDSLToProto - Converts models authored in FGA DSL syntax to the OpenFGA Authorization Model Protobuf format.
TransformJSONProtoToDSL - Converts models from the protobuf representation of the JSON syntax to the OpenFGA DSL.
TransformJSONStringToDSL - Converts models authored in OpenFGA JSON syntax to the DSL syntax.
TransformModFile transforms a mod.fga and validates the fields are correct.
TransformModularDSLToProto - Converts a part of a modular model in DSL syntax to the json syntax accepted by OpenFGA API and also returns the type definitions that are extended in the DSL if any are.
TransformModuleFilesToModel transforms the provided modules into a singular authorization model.
WithIncludeSourceInformation - Configures whether to append file and module information to types, relations, and conditions.

# Constants

nolint:stylecheck,revive.
nolint:stylecheck,revive.
nolint:stylecheck,revive.
nolint:stylecheck,revive.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ModFileValidationError is an error occurred during validation of the mod.fga file.
No description provided by the author
No description provided by the author
ModuleTransformationSingleError is an error occurred during transformation of a module.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author