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

Assess support for schema attribute "number" type #1102

Open
ahayes opened this issue Jan 6, 2023 · 1 comment
Open

Assess support for schema attribute "number" type #1102

ahayes opened this issue Jan 6, 2023 · 1 comment
Labels
Enhancement Desired improvement to design or implementation that adds value. Java Nunaliit Java related JavaScript Nunaliit JavaScript related

Comments

@ahayes
Copy link
Member

ahayes commented Jan 6, 2023

It would be nice to support a "number" type for schema attributes and store them as JSON number values instead of strings to better integrate with other data sources. The level of effort to implement support throughout Nunaliit should be assessed. Of the top of my head, I am imagining the following components possibly needing some work to support:

  • nunaliit command's update-schema functionality that parses schema definitions
  • form template functionality and possibly use of HTML "number" input type
  • other renderings including brief and display if any special handling is required
  • tree view and editor view
  • schema builder tool
  • search indexing
@ahayes ahayes added Enhancement Desired improvement to design or implementation that adds value. JavaScript Nunaliit JavaScript related Java Nunaliit Java related labels Jan 6, 2023
@alexgao1
Copy link
Contributor

alexgao1 commented Jan 9, 2023

search indexing

This is done for existing fields by turning them into a string. Otherwise, it doesn't seem too valuable for any number field to be searchable.

@alexgao1 alexgao1 removed their assignment Aug 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Desired improvement to design or implementation that adds value. Java Nunaliit Java related JavaScript Nunaliit JavaScript related
Projects
None yet
Development

No branches or pull requests

2 participants