Closed
Description
I just saw this on your website and haven't tested it but I think the ...fields
(autocompletion support) cannot work as fields isn't defined anywhere.
import spacex from "spacex";
const { company } = await spacex((op) =>
op.query((q) => ({
company: q.company(
({
name,
ceo,
founded,
...fields // 👈 Autocompletion support
}) => ({
name,
ceo,
founded, //
})
),
}))
);
Metadata
Metadata
Assignees
Labels
No labels