How do you deal with partial types? episode artwork

EPISODE · Dec 14, 2022 · 4 MIN

How do you deal with partial types?

from The Call Kent Podcast · host Kent C. Dodds

Fully typed apps are the correct approach. Let's say your API backend returns a 'full' type (of a Workshop type with 8 fields for example), and, secondly, a list of Workshops but this time only with a 'name' field. In the frontend, you have a 'full view', a 'list of workshops view' (showing only the name of each) and a 'preview view' of a Workshop which uses 3 of its 8 fields. How do you describe these types in the app and at the interfaces between the frontend and backend?How do you deal with partial types?

Episode metadata supplied by the publisher feed · Published Dec 14, 2022

Embed this episode

NOW PLAYING

How do you deal with partial types?

0:00 4:25

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

No similar episodes found.

No similar podcasts found.

Frequently Asked Questions

How long is this episode of The Call Kent Podcast?

This episode is 4 minutes long.

When was this The Call Kent Podcast episode published?

This episode was published on December 14, 2022.

Can I download this The Call Kent Podcast episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.
URL copied to clipboard!