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

Merge new-model-changes feature branch to main #171

Merged
merged 12 commits into from
Nov 1, 2024
Merged

Commits on Nov 1, 2024

  1. Adds new model changes for Structure (#138)

    * adds `Display` for `FullyQualifiedTypeReference` (For Java templates)
    * adds `TryFrom<serde_json::Value>` for `FullyQualifiedTypeReference`
    (Used ijn templates)
    * adds utilities for model changes
    * adds a `data_model_store`  which stores all the data model nodes based
    on their `FullyQualifiedTypeReference`
    * adds changes for using the new `DataModelNode`
    * Adds `From` impls for builder errors to be converted to `CodeGenError`
    * Modifies test cases for TODOs and removes Rust support
    * Adds template changes for `Struct`
    desaikd committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    b9c9144 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f3ae683 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c67f936 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    12a98fd View commit details
    Browse the repository at this point in the history
  5. Adds new model changes for Rust code generation (#147)

    * Adds changes for Rust templates
    * Add `string_representation` on `FullyQualifiedTypeReference` which
    will have namespace represented based on programming language
    * Add tests for Rust code generation
    desaikd committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    e609634 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    46864a6 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    624044b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    49a957e View commit details
    Browse the repository at this point in the history
  9. Adds support for Java enum generation (#158)

    * adds changes for enum support
    * adds tests for enum generation
    * Adds changes for placeholder Rust enum template
    * Fixes bug for Rust namespace in generated code
    desaikd committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    116fe0a View commit details
    Browse the repository at this point in the history
  10. Adds namespace fix for nested sequence and adds support for nested ty…

    …pes in Sequence and Scalar ADT (#163)
    
    * Modified generator to fix bug for nested sequence namespace
    * Modified `fully_qualified_type_ref` method to return `FullyQualifiedTypeReference`
    Previously this returned `Option<FullyQualifiedTypeReference>`
    * Modified templates for nested types in sequence
    * Adds tests for nested enums
    * Adds changes for using enum in namespace
    * Adds `NamespaceNode` for `FullyQualifiedName`
    desaikd committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    e521e17 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    5515927 View commit details
    Browse the repository at this point in the history
  12. Adds support for imports in code generation (#169)

    * Modifies `generate_code_for_authorities` to traverse through all
    subdirectories of a schema authority to generate code
    * Modifies `generate` to generate code for header and inline imports
    * Adds a change for scalar template
    * Adds tests for inline and header imports
    * Remove `--schema` option
    desaikd committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    9e4ba44 View commit details
    Browse the repository at this point in the history