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

fix(remix-react): allow readonly arrays in SerializeType #3774

Merged
merged 2 commits into from
Jul 18, 2022

Commits on Jul 16, 2022

  1. Allow readonly arrays during serialization

    `SerializeType` should allow any type that can be safely serialized by the `JSON` module, and since `ReadonlyArray` is just an `Array` at runtime it qualifies. Since Array extends ReadonlyArray we should be able to switch the check from in `SerializeType` from `Array` to `ReadonlyArray` to achieve this.
    JNaftali authored Jul 16, 2022
    Configuration menu
    Copy the full SHA
    e23487a View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2022

  1. Configuration menu
    Copy the full SHA
    485de1c View commit details
    Browse the repository at this point in the history