Hi there,
I'm probably missing something, so I would like to know if there is any particular reason to grab the relation's type by:
@type = class_name.underscore.pluralize.to_sym
Instead of something like this:
@type = resource_klass._type.to_sym
IMHO it would make more sense to grab it from resource_klass than class_name in order to avoid incoherences such as:
Having this value for type at relationship member:

And this one at included member:

Thoughts?
Hi there,
I'm probably missing something, so I would like to know if there is any particular reason to grab the relation's type by:
@type = class_name.underscore.pluralize.to_symInstead of something like this:
@type = resource_klass._type.to_symIMHO it would make more sense to grab it from
resource_klassthanclass_namein order to avoid incoherences such as:Having this value for
typeatrelationshipmember:And this one at
includedmember:Thoughts?