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

[TS] Add support for fixed length arrays on Typescript (#5864) (#7021) #7581

Merged

Commits on Oct 27, 2022

  1. [TS] Add support for fixed length arrays on Typescript (google#5864) (g…

    …oogle#7021)
    
        * Typescript / Javascript don't have fixed arrays but it is important to support these languages for compatibility.
    
        * Generated TS code checks the length of the given array and do truncating / padding to conform to the schema.
    
        * Supports the both standard API and Object Based API.
    
        * Added a test.
    
        Co-authored-by: Mehmet Baker <mehmet.baker@zerodensity.tv>
        Signed-off-by: Bulent Vural <bulent.vural@zerodensity.tv>
    
    Signed-off-by: Bülent Vural <bulent.vural@zerodensity.tv>
    bulentv committed Oct 27, 2022
    Configuration menu
    Copy the full SHA
    cda288f View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2022

  1. Formatting & readability fixes on idl_gen_ts.cpp

    Signed-off-by: Bülent Vural <bulent.vural@zerodensity.tv>
    bulentv committed Oct 28, 2022
    Configuration menu
    Copy the full SHA
    c716af8 View commit details
    Browse the repository at this point in the history
  2. Added array_test_complex.bfbs

    Signed-off-by: Bülent Vural <bulent.vural@zerodensity.tv>
    bulentv committed Oct 28, 2022
    Configuration menu
    Copy the full SHA
    1867a9c View commit details
    Browse the repository at this point in the history
  3. TS arrays_test_complex: Remove bfbs and use fbs directly

    Signed-off-by: Bülent Vural <bulent.vural@zerodensity.tv>
    bulentv committed Oct 28, 2022
    Configuration menu
    Copy the full SHA
    92dddf7 View commit details
    Browse the repository at this point in the history