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

Add support to split the single client file into multiple files. #963

Closed
wants to merge 2 commits into from

Conversation

alexdupre
Copy link
Contributor

Two new options have been added:
--splitFiles to split the client code generation into multiple files
--enableFmt to disable formatting the generated files with scalafmt

The huge gitlab schema compiled in the scripted tests has been converted
to use these new options.

Two new options have been added:
--splitFiles to split the client code generation into multiple files
--enableFmt  to disable formatting the generated files with scalafmt

The huge gitlab schema compiled in the scripted tests has been converted
to use these new options.
Copy link
Contributor

@blast-hardcheese blast-hardcheese left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs alexdupre#1 otherwise the sbt plugin will error if splitFiles(true) is used.

One question as well

equalTo(
List(
"package" -> """package object test {
| type Character
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the utility of rendering a bare type like this in a package object?

@ghostdogpr
Copy link
Owner

I'll review everything in #964 so let's close this one

@ghostdogpr ghostdogpr closed this Jul 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants