builder icon indicating copy to clipboard operation
builder copied to clipboard

Add get all content

Open gustavocodess opened this issue 3 years ago • 4 comments

Description

This is a helper function to fetch content with nested refs such as direct model reference or reference list.

Example: ModelC { name: '' } Model B { themeName: reference to model C }

ModelA { colorsList: [Reference to model B, Reference to model B] }

This function when called should get all values for all nested refs. In the example above should get the values for the list of references to ModelB and and the actual data for ModelC

Added a new file to handle the entire function.

gustavocodess avatar Sep 02 '22 03:09 gustavocodess

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
svelte-vite-example ✅ Ready (Inspect) Visit Preview Oct 6, 2022 at 6:15PM (UTC)

vercel[bot] avatar Sep 02 '22 03:09 vercel[bot]

few commnets, please add a test for this method

Done.

gustavocodess avatar Sep 12 '22 22:09 gustavocodess

done.

gustavocodess avatar Sep 19 '22 16:09 gustavocodess

The test won't work because it will always return the same prepared content on the json, so it enters a loop, how should we proceed? @teleaziz

gustavocodess avatar Oct 06 '22 18:10 gustavocodess