conjure-java
conjure-java copied to clipboard
Generator Should Read ExternalImportType Safety
If an Alias, Field, or Argument is an external import type, use the underlying import's safety instead of the declared safety (which will be empty). Converts all usages of AliasDefinition.getSafety(), FieldDefinition.getSafety(), and ArgumentDefinition.getSafety() to the corresponding wrapper methods in SafetyUtils.java.
https://github.com/palantir/conjure-java/pull/1945 is a better solution
Generate changelog in changelog/@unreleased
changelog/@unreleasedType
- [x] Feature
- [ ] Improvement
- [ ] Fix
- [ ] Break
- [ ] Deprecation
- [ ] Manual task
- [ ] Migration
Description
Check the box to generate changelog(s)
- [x] Generate changelog entry