-
Notifications
You must be signed in to change notification settings - Fork 330
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability Cast Blocks UUID on 'entity_id' #626
Comments
Seems logical. You should be able to just change the |
I've been using this with uuid based entities (user, team(scope) and entity) for an age, great package. It works perfectly well, however I did hit a snag with the clipboard with a particularly complex custom scope using an array of UUIDs, can't remember what I did to fix it (from vague memory it was field length), but if you experience an issue then please @ me and I'll try to give you a steer. @JosephSilber appreciate you've gotten this far without a config file which I'm suitably impressed with. But what would your feelings be on a config option to enable uuids (so the command generates a uuid migration, and switches the model casts to uuid compliant). Not volunteering to do this immediately as I'll need to go back through what I've done and triple check it. |
Hello! Thanks for the great library!
Just trying to make this work with models that use UUID's, i have updated the entity_id columns on the database tables to the UUID column but there appears to be an issue. There is currently a cast in the Ability Model for entity_id which casts it to int, this cast blocks the UUID's working properly.
Would there be any problems with removing the cast?
The text was updated successfully, but these errors were encountered: