Skip to content

Conversation

@paul-english
Copy link
Contributor

@paul-english paul-english commented Feb 24, 2017

PR checklist

  • Read the contribution guildelines.
  • Ran the shell/batch script under ./bin/ to update Petstore sample so that CIs can verify the change. (For instance, only need to run ./bin/{LANG}-petstore.sh and ./bin/security/{LANG}-petstore.sh if updating the {LANG} (e.g. php, ruby, python, etc) code generator or {LANG} client's mustache templates)
  • Filed the PR against the correct branch: master for non-breaking changes and 2.3.0 branch for breaking (non-backward compatible) changes.

Description of the PR

Port the option and enum logic from the scala-async template into this one. What is considered a breaking change? This will certainly require anyone generating scala templates to update their code should they regenerate with this template, does that count as breaking? If so I'll recreate the PR onto the right branch.

I know that the plans are to merge the scala & async-scala generators, which project will be considered the main project? I initially tried using the async-scala generator and had some small issues, and switched to this generator just because it was easier to get working initially.

…ic for enum

Just going to avoid enum for now, considering I'm not sure what scala client
will be official
@wing328
Copy link
Contributor

wing328 commented Feb 26, 2017

@log0ymxm thanks for the PR. We'll review let you know if we've any question.

In 2.3.0 branch, we'll merge async-scala and scala into one single client to avoid duplicated efforts in these 2 clients: #4855

@wing328
Copy link
Contributor

wing328 commented Mar 6, 2017

@log0ymxm the change looks good to me. PR merged into master.

cc @clasnake

@wing328 wing328 merged commit 5d327e6 into swagger-api:master Mar 6, 2017
@wing328 wing328 changed the title Port the optional/enum template logic from async-scala to the regular scala client [Scala] Port the optional/enum template logic from async-scala to the regular scala client Mar 12, 2017
spr3nk3ls pushed a commit to spr3nk3ls/swagger-codegen that referenced this pull request Mar 28, 2017
… scala client (swagger-api#4849)

* Port the optional/enum template logic from async-scala to the regular scala client

* oops, accidently pulled template from akka-scala which has custom logic for enum

Just going to avoid enum for now, considering I'm not sure what scala client
will be official

* Update tests to use option
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants