Skip to content

Update to Enum generation & Bug fixes

Compare
Choose a tag to compare
@rahul-malik rahul-malik released this 14 Feb 17:15
· 113 commits to master since this release
991a465

Whats in this release?

Breaking changes

For Objective-C, an enum type will no longer have "Type" added to it's name. This introduced issues (#119) and was inconsistent with the logic we use for Flow.

Previous behavior:
A enum property some_prop on a type Foo would generate a enum named FooSomePropType

New behavior:
A enum property some_prop on a type Foo will generate a enum named FooSomeProp

If you are currently using Enums you'll likely need to update references to these types in your code base but the functionality remains the same. In the future we'll strive to keep these naming strategies consistent between languages.

Notable bug fixes

  • Improve the nullability support for Objective-C
  • Fix the ordering of properties during generation to ensure we don't have variance in our generation.

Changes

991a465 Align naming logic between Flow and ObjC for enums. Fix naming collis… (#120)
f8f7c17 Correct extends field example (#117)
a8d8676 Fixed missing "" (#118)
0e2668c Update README.md (#114)
47fdfdd Builder setter should consider copy memoryAssignmentType (#113)
bcc7bef Enumeration of schema properties should occur in a specific order to ensure a (#110)
df1e444 Update homebrew installation instructions