Skip to content

Conversation

@vaind
Copy link
Contributor

@vaind vaind commented Aug 27, 2021

closes #33

obx_model_entity(model, "Typeful", 1, 8717895732742165505);
obx_model_entity_flags(model, (OBXEntityFlags) (OBXEntityFlags_SHARED_GLOBAL_IDS | OBXEntityFlags_SYNC_ENABLED));
obx_model_property(model, "id", OBXPropertyType_Long, 1, 3390393562759376202);
obx_model_property(model, "id", OBXPropertyType_Long, 1, 2669985732393126063);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is already a larger PR to review; could you please keep the existing ID with reasonable effort?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've tried moving to another .fbs but it doesn't help - still ends up with new IDs because these files are always regenerated. The only option is adding another "directory" to the comparison test (i.e. it wouldn't be in typeful but enums) but you didn't want that previously.

BTW the first commit is just adding the enum to the model. the second commit is the actual changes - maybe ignoring the first commit helps reviewing

@kjbrawner22
Copy link

what's the status on this? i'd like enum support as well.

@vaind vaind closed this Sep 1, 2025
@vaind
Copy link
Contributor Author

vaind commented Sep 1, 2025

PR abandoned/stale. Feel free to use any of the code in case you want to land this.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support enums in .fbs

4 participants