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

[haskell-servant] Add some missing types to the generated modules #2675

Merged
merged 2 commits into from
May 4, 2019

Conversation

f-f
Copy link
Contributor

@f-f f-f commented Apr 16, 2019

PR checklist

  • Read the contribution guidelines.
  • Ran the shell script under ./bin/ to update Petstore sample so that CIs can verify the change. (For instance, only need to run ./bin/{LANG}-petstore.sh, ./bin/openapi3/{LANG}-petstore.sh if updating the {LANG} (e.g. php, ruby, python, etc) code generator or {LANG} client's mustache templates). Windows batch files can be found in .\bin\windows\.
  • Filed the PR against the correct branch: master, 3.4.x, 4.0.x. Default: master.
  • Copied the technical committee to review the pull request if your PR is targeting a particular programming language.

Description of the PR

This small PR adds some type imports that were missing, causing a compilation error when e.g. having an endpoint taking a Day as a parameter (which is imported by Data.Time, added here)

/cc @wing328 @jonschoning @algas

@f-f f-f changed the title Add some missing types to the generated modules [haskell-servant] Add some missing types to the generated modules Apr 16, 2019
@f-f
Copy link
Contributor Author

f-f commented Apr 26, 2019

Ping @wing328, any news on this?

@jonschoning jonschoning merged commit 250e528 into OpenAPITools:master May 4, 2019
jimschubert added a commit that referenced this pull request May 5, 2019
* master:
  resize lightbow logo
  add lightbow logo
  add Lightbow as sponsor (#2822)
  [docs] Document new templating engine, adding ability to reference templates by file to comlete the example (#2773)
  [JAVA][KOTLIN] fix var Naming for all uppercase with Numbers (#2794)
  [Documentation] Add instructions to build the javascript client module (#2806)
  use mvn instead of run-in-docker (#2821)
  Better handling of form data (#2818)
  [haskell-servant] Add some missing types to the generated modules (#2675)
jimschubert added a commit that referenced this pull request May 5, 2019
* master:
  resize lightbow logo
  add lightbow logo
  add Lightbow as sponsor (#2822)
  [docs] Document new templating engine, adding ability to reference templates by file to comlete the example (#2773)
  [JAVA][KOTLIN] fix var Naming for all uppercase with Numbers (#2794)
  [Documentation] Add instructions to build the javascript client module (#2806)
  use mvn instead of run-in-docker (#2821)
  Better handling of form data (#2818)
  [haskell-servant] Add some missing types to the generated modules (#2675)
  Clarifies need to build project for sample output (#2819)
  [Elm] Bugfix .encode in modelTypeDiscriminator (#2807)
  Apply strict spec option to CodegenConfig instance (#2814)
@wing328 wing328 added this to the 4.0.0 milestone May 9, 2019
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