Skip to content

Commit

Permalink
Add missing base types
Browse files Browse the repository at this point in the history
Some structs were not detected as needing a base type for decoding.

Fix the generator and regenerate the SDK to include those missing types
  • Loading branch information
gwatts committed Oct 2, 2021
1 parent 32f570b commit 3c956e1
Show file tree
Hide file tree
Showing 2 changed files with 381 additions and 0 deletions.
1 change: 1 addition & 0 deletions generator/go_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ def generate_doc(code_generator, t):


def _needs_base_type(data_type):
data_type, _ = unwrap_nullable(data_type)
if is_struct_type(data_type) and data_type.has_enumerated_subtypes():
return True
if is_list_type(data_type):
Expand Down
Loading

0 comments on commit 3c956e1

Please sign in to comment.