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

Full support for immutable type Record #140

Open
elbakerino opened this issue Apr 5, 2021 · 0 comments
Open

Full support for immutable type Record #140

elbakerino opened this issue Apr 5, 2021 · 0 comments
Labels
bug Something isn't working core material-ui About the material-ui design-system plugin validators widget
Projects

Comments

@elbakerino
Copy link
Member

elbakerino commented Apr 5, 2021

Currently the core doesn't fully support Record, not in utils and not in validators, but it should be treated the same like Map/OrderedMap when checking for a JSON type: object

  • import { useImmutable } from '@ui-schema/ui-schema/Utils/useImmutable' doesn't support checking for Record stability added in 0.2.2
  • new util isImmutableObj to check if a value is of an immutable data type which is compatible to type: object
  • updating all validators, plugins and widgets to support records
@elbakerino elbakerino added bug Something isn't working material-ui About the material-ui design-system widget plugin validators core labels Apr 5, 2021
@elbakerino elbakerino added this to To do in ui-schema via automation Apr 5, 2021
elbakerino added a commit that referenced this issue Apr 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working core material-ui About the material-ui design-system plugin validators widget
Projects
ui-schema
  
To do
Development

No branches or pull requests

1 participant