Skip to content

v0.5.8 - key type and relation names

Choose a tag to compare

@lgebhardt lgebhardt released this 03 Sep 12:18
· 872 commits to master since this release

General improvements:

  • Table of Contents for Readme
  • Section in Readme for Includes

New Features:

  • relation_name option on relationships can now be set and dynamically determined, allowing the resource to selectively use a relation on the model
  • key_type: the key type can be set globally in the configuration and per resource. This supports integer, string, uuid, and custom procs. When using uuids the routes also enforce the correct uuid format.

Bugs fixes:

  • Generator now ensures that generated resources use the singular class name
  • Status in errors is now returned as a string to comply with the JSON API spec