MCPcopy
hub / github.com/openfga/openfga / TupleKeyToTupleKeyWithoutCondition

Function TupleKeyToTupleKeyWithoutCondition

pkg/tuple/tuple.go:140–146  ·  view source on GitHub ↗
(tk *openfgav1.TupleKey)

Source from the content-addressed store, hash-verified

138}
139
140func TupleKeyToTupleKeyWithoutCondition(tk *openfgav1.TupleKey) *openfgav1.TupleKeyWithoutCondition {
141 return &openfgav1.TupleKeyWithoutCondition{
142 Object: tk.GetObject(),
143 Relation: tk.GetRelation(),
144 User: tk.GetUser(),
145 }
146}
147
148func TupleKeyWithoutConditionToTupleKey(tk *openfgav1.TupleKeyWithoutCondition) *openfgav1.TupleKey {
149 return &openfgav1.TupleKey{

Callers 2

Calls 3

GetObjectMethod · 0.65
GetRelationMethod · 0.65
GetUserMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…