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
const client = new RemoteClient({ schema });
const result = await client.fetch({
collectionName: 'todos',
});
// Result is Map<string, any>
I think we need to properly type the query parameter of fetch (so we can pull out the schema and proper return type) or ensure that happens under the hood of fetch somewhere.
The text was updated successfully, but these errors were encountered:
Example:
I think we need to properly type the query parameter of
fetch
(so we can pull out the schema and proper return type) or ensure that happens under the hood of fetch somewhere.The text was updated successfully, but these errors were encountered: