You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From the restaurant example, we find this type in the schema:
exporttypePizza={itemType: "pizza";// default: largesize?: "small"|"medium"|"large"|"extra large";// toppings requested (examples: pepperoni, arugula)addedToppings?: string[];// toppings requested to be removed (examples: fresh garlic, anchovies)removedToppings?: string[];// default: 1quantity?: number;// used if the requester references a pizza by namename?: "Hawaiian"|"Yeti"|"Pig In a Forest"|"Cherry Bomb";};
It appears that values in strings and comments (in English) are used to help construct the response JSON.
Would there need to be one schema file per language where all strings and comments are in a given language?
foodOrderViewShema.en-US.ts
foodOrderViewShema.en-GB.ts
foodOrderViewShema.pt-BR.ts
The text was updated successfully, but these errors were encountered:
From the restaurant example, we find this type in the schema:
It appears that values in strings and comments (in English) are used to help construct the response JSON.
Would there need to be one schema file per language where all strings and comments are in a given language?
The text was updated successfully, but these errors were encountered: