-
Notifications
You must be signed in to change notification settings - Fork 133
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
response header doesn't seem to work #572
Comments
Please pardon the late reply I think this is actually a missing feature. If you look at the definition in If you are available to contribute this, it would be greatly appreciated, currently my focus has been on performance improvements of the core generator, as well as better error messages for consumers. As a basic workaround, you can use Anyway, I do apologize for not responding sooner. Please feel free to reach out if you are interested in contributing but need help getting started 😁 |
Thanks for your suggestions :) |
Hi. I really need this feature in our team (Avast) and I am willing to make a PR. Probably during next week I will be able to deliver PR. Would you make some time for me? Thanks |
@Peppi-Ressler |
@Peppi-Ressler One other note -- Due to #1195, the intent is for future versions of
with the expectation that most users are using something like scala-steward or dependabot to bump library versions. This is to prevent unnecessary version bumps due to unrelated changes to frameworks your projects do not use. Does this match with Avast's usage expectations? I've been discussing it a bit in the gitter channel, but I'd like to make sure this isn't a surprise to you all. |
Regarding PR itself I already have working version but I need to fix tests (also as this is my first meta encounter, I think there will be "few" things to fix). That modules sounds cool, I think it will be ok. |
Ok, I've managed to add also tests. That |
Only issue is our gradle plugin which will need some updates but it should not be a big deal |
@Peppi-Ressler Ah, understood. I put some effort to upgrading the guardrail version in the gradle plugin here, but I admit I am actually not much of a Groovy/Gradle expert. If you have your own internal plugin, then perhaps the repackaging notes will help you. |
Thank you I will take a look. When are you going to switch to modularized approach? |
This was done to support a 1.0 release, to ensure no other major shifts will be done. I will wait until there is enough evidence that each module has a stable ABI before moving to the model where each user specifies their module dependencies explicitly. One other note, since you are implementing in Gradle, in the next release of Presumably if you specify a newer version of one module, even in Gradle, it will override the built-in dependency |
guardrail-scala-akka-http 0.67.0 is releasing, please let me know if anything else is necessary to support you here |
@blast-hardcheese thanks a lot. Last question: I pressume that I need to change my plugin in same way as you did here in order to actually use this new release right? |
@Peppi-Ressler Certainly -- Edit: It actually applies to everything, not just the CLI approach |
Closing this issue now as I consider the issue to be resolved, though if anything else comes up either please feel free to comment here or open a new issue. Thanks for fixing this, @Peppi-Ressler! |
Thank you for your quick response & release |
framework: akka-http
scala: 2.12.11
akka: 2.6.4
circe: 0.13.0
i tried the following example
https://github.com/twilio/guardrail/blob/master/modules/sample/src/main/resources/response-headers.yaml
the generated code is
I couldn't find the interface for response headers. could you please help?
The text was updated successfully, but these errors were encountered: