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

Safe json.RawMessage and json.Number #233

Merged
merged 9 commits into from Apr 10, 2023

Commits on Apr 4, 2023

  1. Failing tests

    mgilbir committed Apr 4, 2023
    Configuration menu
    Copy the full SHA
    d57151e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c2a187e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6d40366 View commit details
    Browse the repository at this point in the history
  4. Pass the faker object around. Makes the nil case reproducible

    Replacing Info.Generate that is public would break the API
    mgilbir committed Apr 4, 2023
    Configuration menu
    Copy the full SHA
    6067c68 View commit details
    Browse the repository at this point in the history
  5. Handle encoding/json.RawMesssage

    It is defined in the std library and not easy to fake with other methods
    mgilbir committed Apr 4, 2023
    Configuration menu
    Copy the full SHA
    0bfdbd1 View commit details
    Browse the repository at this point in the history
  6. Failing test

    mgilbir committed Apr 4, 2023
    Configuration menu
    Copy the full SHA
    ad83a47 View commit details
    Browse the repository at this point in the history
  7. Add support for json.Number

    mgilbir committed Apr 4, 2023
    Configuration menu
    Copy the full SHA
    4279942 View commit details
    Browse the repository at this point in the history
  8. Failing test

    mgilbir committed Apr 4, 2023
    Configuration menu
    Copy the full SHA
    3853aee View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    3eccca0 View commit details
    Browse the repository at this point in the history