Skip to content

(populate) - support (nested) interfaces & unions in the return type#963

Merged
kitten merged 8 commits intomainfrom
populate-interfaces
Sep 29, 2020
Merged

(populate) - support (nested) interfaces & unions in the return type#963
kitten merged 8 commits intomainfrom
populate-interfaces

Conversation

@JoviDeCroock
Copy link
Copy Markdown
Collaborator

Fixes #909

Summary

Adds support for nested complex types

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Sep 7, 2020

🦋 Changeset detected

Latest commit: 97dbc16

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@JoviDeCroock JoviDeCroock changed the title Populate interfaces (populate) - support (nested) interfaces & unions in the return type Sep 8, 2020
Comment thread exchanges/populate/src/populateExchange.ts
Comment thread exchanges/populate/src/populateExchange.ts Outdated
Copy link
Copy Markdown

@kadikraman kadikraman left a comment

Choose a reason for hiding this comment

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

LGTM! 👍

Copy link
Copy Markdown
Contributor

@andyrichardson andyrichardson left a comment

Choose a reason for hiding this comment

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

Looks like a great addition!

* remove need for visit with typeinfo

* simplify logic

* simplify document logic

* add todo

* remove one visit

* remove one visit

* remove unused import

* remove another visit

* remove last visit

* cleanup implementation

* remove ts-ignore

* cleanup implementation

* Fix warning

Co-authored-by: Phil Pluckthun <phil@kitten.sh>
@kitten kitten merged commit e39bcc5 into main Sep 29, 2020
@kitten kitten deleted the populate-interfaces branch September 29, 2020 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants