ContextKit - v0.5.0 released, added :select support

v0.5.0 of ContextKit has just been released.

I noticed that when you list resources, it always selects all schema fields, and there is no way to override it. Now there is.

Example:

MyApp.Comments.list_comments(select: [:id, :text])

This will select only the id and text fields from the database.

1 Like