episerver / cms-saas-vercel-demo

Complete demo site for Optimizely SaaS CMS, fully taking all content from Optimizely Graph
https://www.optimizely.com/get-started/
Other
9 stars 49 forks source link

Question: New Property to existing Model #12

Closed MineshS closed 6 months ago

MineshS commented 6 months ago

Hi @remkoj

I was hoping you could help answer a simple question around new properties.

I have added a new Property into the "Website Header Block" and populated the value in Edit Mode. In the NextJS Layer within app/frontend I ran the Yarn compile command which re-generated the graphql.ts.

e.g. image

BUT

It did not add here : 'export type GetHeaderDataQuery = { __typename?: 'Query'...'

Do I need to manually update this section and add my CopyrightText property or is their a step I have missed.

image