Open guilleva opened 8 years ago
I have a resource with a relationship which type has a dash eg type: 'tournament-types'but the namedFunction fails trying to create a model with such name, this patch fixes it by making sure the passed name is safe.
type: 'tournament-types'
I have a resource with a relationship which type has a dash eg
type: 'tournament-types'
but the namedFunction fails trying to create a model with such name, this patch fixes it by making sure the passed name is safe.