You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 1, 2024. It is now read-only.
In selections, ID should be exists or 0 for roots!
For example in category, there is parent_id column, so, in root categories parent_id is 0.
I have been searching for such exists_or_zero validation method with no success.
The text was updated successfully, but these errors were encountered:
Personally, I think this is too application-specific as it assumes that the ID field is an integer. It could easily be a string e.g. a UUID, or a number of a certain padded length e.g. 0000001.
For this reason, I think I'm going to close this. If you have any additional feedback, then please let me know and I'll reconsider your request :)
In selections, ID should be exists or 0 for roots!
For example in category, there is parent_id column, so, in root categories parent_id is 0.
I have been searching for such exists_or_zero validation method with no success.
The text was updated successfully, but these errors were encountered: