Skip to content

Don't warn about immutable bytes unless objects are generated#277

Merged
bulldozer-bot[bot] merged 1 commit into
developfrom
unnecessary_warning
Mar 11, 2019
Merged

Don't warn about immutable bytes unless objects are generated#277
bulldozer-bot[bot] merged 1 commit into
developfrom
unnecessary_warning

Conversation

@carterkozak
Copy link
Copy Markdown
Contributor

The binary type is not allowed in headers/query/path parameters,
and streaming types are used for the request and response
bodies. The flag only modifies output of object generation.

The binary type is not allowed in headers/query/path parameters,
and streaming types are used for the request and response
bodies. The flag only modifies output of object generation.
@carterkozak carterkozak requested a review from a team as a code owner March 10, 2019 02:58
Copy link
Copy Markdown
Contributor

@markelliot markelliot left a comment

Choose a reason for hiding this comment

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

Ideally we would only emit the warning when binary is used in an object definition.

@carterkozak
Copy link
Copy Markdown
Contributor Author

I'd prefer to associate the warning with an infrastructure change (conjure generator upgrade or addition of conjure to a new project) than a change which adds a new endpoint.

@iamdanfox
Copy link
Copy Markdown
Contributor

iamdanfox commented Mar 11, 2019

👍 Not convinced this will really affect many projects (as I don't know of any use cases that just generate jersey), but associating with a conjure-generator upgrade seems like a fair enough justification

@bulldozer-bot bulldozer-bot Bot merged commit 7fb068a into develop Mar 11, 2019
@bulldozer-bot bulldozer-bot Bot deleted the unnecessary_warning branch March 11, 2019 17:14
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.

3 participants