Closed
Description
openedon Jun 20, 2024
Describe the bug
If I have an operation template that has a default http method (e.g. GET
) but I want to override it in the actual instantiation, the typespec/http library will error. Since it is an error, I can't suppress it.
We should instead a) emit a warning and b) let the "outermost" application "win".
Reproduction
Checklist
- Follow our Code of Conduct
- Check that there isn't already an issue that request the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion.
- The provided reproduction is a minimal reproducible example of the bug.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment