graphile / crystal-pre-merge

Repository moved
https://github.com/graphile/crystal
39 stars 10 forks source link

Document that "at" and "get" have special meaning on steps #497

Open benjie opened 10 months ago

benjie commented 10 months ago

If steps implement these methods but don't conform to expectations, then odd things might happen.

benjie commented 10 months ago

See isObjectLikeStep and isListLikeStep functions (the latter is currently on a branch)

benjie commented 5 months ago

@jemgillam please can you add details of this convention to the Grafast docs, probably in the section talking about writing your own step classes (since these are step class methods)?