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
Is this only a type definition error? Because even if Typescript complained, the remote schema works. That said, this would prevent compilation since it won't pass the type checks. Is there any workaround for this? Or am I making a mistake here?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'm following example from https://payloadcms.com/docs/fields/json#remote-json-schema but Typescript complained that
schema
property is required. When I add the property suchschema: {}
, it's no longer using the remote schema.Is this only a type definition error? Because even if Typescript complained, the remote schema works. That said, this would prevent compilation since it won't pass the type checks. Is there any workaround for this? Or am I making a mistake here?
Beta Was this translation helpful? Give feedback.
All reactions