Skip to Main Content
Mastering TypeScript 3 - Third Edition
book

Mastering TypeScript 3 - Third Edition

by Nathan Rozentals
February 2019
Beginner content levelBeginner
694 pages
18h 4m
English
Packt Publishing
Content preview from Mastering TypeScript 3 - Third Edition

Observables – concatMap

Our list of boards is currently using data from the /api/boards REST endpoint, and therefore has access to the general information relating to a board, such as its name, short_description, and manufacturer logo. Remember that most windsurfing boards come in a range of sizes, with each size having a slightly different volume, width, and length, in order to support different sail sizes. What we have here, then, is a one-to-many relationship between a board and its sizes, as a single board may have many sizes.

Our REST endpoints, however, do not return the sizes of a board within the JSON structure for a single board. This means that for each board in our list, we will need to make a secondary call to the REST endpoints ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

The TypeScript Workshop

The TypeScript Workshop

Ben Grynhaus, Jordan Hudgens, Rayon Hunte, Matt Morgan, Wekoslav Stefanovski

Publisher Resources

ISBN: 9781789536706Supplemental Content