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

codegen: assembler for struct with map representation validates all non-optional fields are present #121

Merged
merged 1 commit into from
Dec 4, 2020

Commits on Dec 4, 2020

  1. codegen: assembler for struct with map representation now validates a…

    …ll non-optional fields are present.
    
    This continues what #111 did
    and adds the same logic to the map representation.  The actual state
    tracking works the same way (and was mostly already there).
    
    Rearranged the tests slightly.
    
    Made error messages include both field name and serial key when they
    differ due to a rename directive.  (It's possible this error would get
    nicer if it used a list of StructField instead of just strings, but it
    would also get more complicated.  Maybe revisit later.)
    warpfork committed Dec 4, 2020
    Configuration menu
    Copy the full SHA
    f8d654d View commit details
    Browse the repository at this point in the history