Skip to content
This repository was archived by the owner on Apr 11, 2019. It is now read-only.

Fix error when resource type has dashes#37

Open
guilleva wants to merge 1 commit intojakubrohleder:developfrom
guilleva:develop
Open

Fix error when resource type has dashes#37
guilleva wants to merge 1 commit intojakubrohleder:developfrom
guilleva:develop

Conversation

@guilleva
Copy link

@guilleva guilleva commented Jan 9, 2016

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant