Skip to content
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

Compute an _order integer value so that dictionary objects have a readily-accessible sort order #47

Open
rsek opened this issue Jun 12, 2024 · 0 comments
Labels
➕ enhancement New feature or request 📐 schema Affects the JSON schema, which is the "source of truth" for Datasworn

Comments

@rsek
Copy link
Owner

rsek commented Jun 12, 2024

Maps/Dictionaries aren't usually ordered, so Datasworn's ordering may be lost. Assigning a sort value to each object could instead be done at build time.

One possible fringe benefit: using the same order sequence across contents and collections -- especially relevant for oracles

@rsek rsek added 📐 schema Affects the JSON schema, which is the "source of truth" for Datasworn ➕ enhancement New feature or request labels Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
➕ enhancement New feature or request 📐 schema Affects the JSON schema, which is the "source of truth" for Datasworn
Projects
None yet
Development

No branches or pull requests

1 participant