ObjectFragment: {
    object: EncodedObject;
}

A piece of an interpolated query that represents an object. Arguments are passed to fauna using ObjectFragments so that query arguments can be nested within javascript objects.

ObjectFragments must always be encoded with tags, regardless of the "x-format" request header sent.

 const arg = { startDate: DateStub.from("2023-09-01") };
const query = fql`${arg})`;
// produces
{
"fql": [
{
"object": {
"startDate": {
"value": { "@date": "2023-09-01" } // Object field values have type QueryInterpolation
}
}
}
]
}