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

Add structured swift represntation for the generated metadata #2117

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Nov 14, 2024

  1. Add structured swift represntation for the generated metadata

    Motivation:
    
    The code gen as it stands tests too much in one go: a small change leads
    to many tests being updated. This stems from the translator not being
    very testable. To improve this, and make future code gen changes less
    painful, we can refactor it such that helpers build structured swift.
    These are significantly less coupled and can be tested more easily.
    
    The strategy here is to add all the structured representations for the
    metadata, client, and server and then cut over the translators to using
    the new code. This first change will introduce the structured
    represntation for metadata.
    
    Modifications:
    
    - Add metadata structured swift
    - Add helpers for commonly used types
    
    Result:
    
    Metadata is in place
    glbrntt committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    b45e2bd View commit details
    Browse the repository at this point in the history