(tk *openfgav1.TupleKey)
| 138 | } |
| 139 | |
| 140 | func 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 | |
| 148 | func TupleKeyWithoutConditionToTupleKey(tk *openfgav1.TupleKeyWithoutCondition) *openfgav1.TupleKey { |
| 149 | return &openfgav1.TupleKey{ |
no test coverage detected
searching dependent graphs…