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

[Backport release-1.2] Add a new configuration option for required field generation #383

Open
wants to merge 4 commits into
base: release-1.2
Choose a base branch
from

Commits on Mar 19, 2024

  1. Add a new `Required configuration option

    Signed-off-by: Sergen Yalçın <yalcinsergen97@gmail.com>
    (cherry picked from commit bdfbe67)
    sergenyalcin authored and github-actions[bot] committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    cd635f6 View commit details
    Browse the repository at this point in the history
  2. - Move the config.ExternalName.RequiredFields to config.Resource.requ…

    …iredFields
    
    - Deprecate config.MarkAsRequired in favor of a new configuration function on *config.Resource that still accepts a slice to mark multiple fields as required without doing and invervention in native field schema.
    
    Signed-off-by: Sergen Yalçın <yalcinsergen97@gmail.com>
    (cherry picked from commit f25329f)
    sergenyalcin authored and github-actions[bot] committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    57525b0 View commit details
    Browse the repository at this point in the history
  3. Add requiredFields to ignoreUnexported for fixing unit tests

    Signed-off-by: Sergen Yalçın <yalcinsergen97@gmail.com>
    (cherry picked from commit b73a85f)
    sergenyalcin authored and github-actions[bot] committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    18a78af View commit details
    Browse the repository at this point in the history
  4. Add doc for RequiredFields function

    Signed-off-by: Sergen Yalçın <yalcinsergen97@gmail.com>
    (cherry picked from commit 845dbf6)
    sergenyalcin authored and github-actions[bot] committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    aacaa2a View commit details
    Browse the repository at this point in the history