IsOtherReservedPredicate returns true if it is the predicate is reserved by graphql. These are a subset of PreDefined predicates, so follow all their properties. In addition, the value for these predicates is also not allowed to be mutated directly by the users.
(pred string)
| 823 | // These are a subset of PreDefined predicates, so follow all their properties. In addition, |
| 824 | // the value for these predicates is also not allowed to be mutated directly by the users. |
| 825 | func IsOtherReservedPredicate(pred string) bool { |
| 826 | _, ok := otherReservedPredicate[pred] |
| 827 | return ok |
| 828 | } |
| 829 | |
| 830 | // IsReservedPredicate returns true if the predicate is reserved for internal usage, i.e., prefixed |
| 831 | // with `dgraph.`. |
no outgoing calls
no test coverage detected