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 ignoring omitempty tag when field of custom type with pointer receiver on MarshalJSON implementation (fixes #488) #489

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Dec 18, 2023

  1. fix: enable isNilCheck on MarshalJson ptr

    Gabriel Crispino authored and GCrispino committed Dec 18, 2023
    Configuration menu
    Copy the full SHA
    92e091e View commit details
    Browse the repository at this point in the history
  2. test: add tests

    test: draft for omitempty on pointer receiver for MarshalJSON
    
    test: move new test onto omitempty marshaling tests
    Gabriel Crispino authored and GCrispino committed Dec 18, 2023
    Configuration menu
    Copy the full SHA
    38a0a51 View commit details
    Browse the repository at this point in the history