Skip to content
This repository has been archived by the owner on Jul 14, 2023. It is now read-only.

[Readme config] Alias for discriminator options not working #837

Open
fengzhou-msft opened this issue Apr 27, 2021 · 0 comments
Open

[Readme config] Alias for discriminator options not working #837

fengzhou-msft opened this issue Apr 27, 2021 · 0 comments

Comments

@fengzhou-msft
Copy link
Member

fengzhou-msft commented Apr 27, 2021

--factory-git-hub-configuration and --factory-vsts-configuration are discriminator options for therepoConfiguration property in the swagger to create a data factory.
The violate the option_length_too_long linter rule. I tried to add alias for them, but the below configuration does not work.

    - where:
          group: Factories
          type: FactoryGitHubConfiguration
      alias:
          - factory-git-hub-configuration
          - github-config
    - where:
          group: Factories
          type: FactoryVSTSConfiguration
      alias:
          - factory-vsts-configuration
          - vsts-config

My current workaround is to manually add the alias. I need to modify _help.y and _params.py in manual folder.

@fengzhou-msft fengzhou-msft changed the title Alias for discriminator options not working [Readme config] Alias for discriminator options not working Apr 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant