A critical vulnerability was discovered in React Server Components (Next.js). Our Systems Remain Fully Protected. Learn More.
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our Systems Remain Fully Protected. Learn More.
Hi,
I find myself quite often implementing content respositories where I fetch content of a certain type from a specific root. Then I cache the result (the references) and handling the cache invalidating manually when new content of that type under that root is created, deleted, moved and so on.
It would be cool if this was a standard functionality in IContentRepository, e.g.:
And the method would only return content of the specified type, i.e. not throw an exception if there are other types under that root.
Btw GetDescendents is misspelled in the API.