Closed gregwinterstein closed 1 year ago
Any tests?
@habbes The current tests for the command-line are marked as [Ignore("to be removed")]
and use the CodeGenWithT4TemplateFromCommandline
method. If CodeGenWithT4TemplateFromCommandline
is still available and is not deprecated, tests could be created to pass command-line parameters and validate the resulting code.
@gregwinterstein Can you rebase the PR?
@gregwinterstein Can you rebase the PR?
@KenitoInc I have rebased the pull request as requested.
As noted in #341 the
exclude-schema-types
option (and other exclusion options) are ignored by the odata-cli. This is because the option is described as a comma-separated list but implemented as a list.This change converts the exclusion options into strings and splits the strings on commas when passing the exclusions into the generators.
This fixes issue #341