-
Notifications
You must be signed in to change notification settings - Fork 3
Weaknesses
Emre Sokullu edited this page Aug 17, 2019
·
2 revisions
- Attributes are stored in upper-camelized form
- so if there is a variable is_pending in an entity, it would be stored in index and database as IsPending
- on the other hand, with index, everything has a udid (all lowercase) => "match (n:user {udid: "xyz"}) return n.Username;"
- udid is not even the same as uuid that's used throughout the framework!
- plus class names in Cypher go all lowercase!
- these all contradict and create a mess.
- $user->getIsPending() same as $user->attributes()->IsPending while the recipe states it as "is_pending"
- the problem is all function names are lowercase in general, whereas the internal values are kept in upper-camelized format; which is, again, contradictory and confusing for the end-user! See: https://github.com/phonetworks/graphjs-server (not proud!)