Skip to content

Restored uiSchema.classNames with deprecation warning #3041

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

Conversation

heath-freenome
Copy link
Member

Reasons for making this change

  • Updated SchemaField to restore support for uiSchema.classNames with big fat deprecation warning
  • Updated the existing classNames test to verify restored code and deprecation warning
  • NOTE: Will fix up the documentation in the other PR

Checklist

  • I'm updating documentation
  • I'm adding or updating code
    • I've added and/or updated tests. I've run npm run test:update to update snapshots, if needed.
    • I've updated docs if needed
    • I've updated the changelog with a description of the PR
  • I'm adding a new feature
    • I've updated the playground with an example use of the feature

@heath-freenome heath-freenome force-pushed the restore-uiSchema-classNames-deprecated branch from b21d3a4 to c8b8b77 Compare August 24, 2022 16:35
Copy link
Contributor

@jacqueswho jacqueswho left a comment

Choose a reason for hiding this comment

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

Is there an update to the playground example, if this is used?

@heath-freenome
Copy link
Member Author

Is there an update to the playground example, if this is used?

There are no examples in the playground that uses it

@heath-freenome heath-freenome force-pushed the restore-uiSchema-classNames-deprecated branch from 7b1b427 to ea237bc Compare August 25, 2022 16:56
@heath-freenome
Copy link
Member Author

heath-freenome commented Aug 26, 2022

@nickgros @epicfaace @jacqueswho I believe this PR is ready for approval

@heath-freenome heath-freenome force-pushed the restore-uiSchema-classNames-deprecated branch from 24d3c5c to 6f55f44 Compare August 26, 2022 19:01
- Updated `SchemaField` to restore support for `uiSchema.classNames` with big fat deprecation warning
- Updated the existing `classNames` test to verify restored code and deprecation warning
- NOTE: Will fix up the documentation in the other PR
@heath-freenome heath-freenome force-pushed the restore-uiSchema-classNames-deprecated branch from 6f55f44 to 0490661 Compare August 26, 2022 19:04
@heath-freenome heath-freenome force-pushed the restore-uiSchema-classNames-deprecated branch from 0490661 to 79c7ae4 Compare August 26, 2022 19:08
@heath-freenome heath-freenome merged commit 2ab02d8 into rjsf-team:rjsf-v5 Aug 26, 2022
@heath-freenome heath-freenome deleted the restore-uiSchema-classNames-deprecated branch August 26, 2022 19:57
heath-freenome added a commit to heath-freenome/react-jsonschema-form that referenced this pull request Aug 27, 2022
* Restored uiSchema.classNames with deprecation warning
- Updated `SchemaField` to restore support for `uiSchema.classNames` with big fat deprecation warning
- Updated the existing `classNames` test to verify restored code and deprecation warning
- NOTE: Will fix up the documentation in the other PR

* - Responded to reviewer feedback

* - Adjusted warning message

* - Responded to reviewer feedback and updated migration guide
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.

4 participants