Placing an index on a field in an embedded type

I borrowed this example from the Fauna docs for the @embedded directive:

type Address @embedded {
  street: String!
  city: String!
  zipCode: String!
}

type User @collection(name: "users") {
  name: String
  address: Address
}

I’d like to put a non-unique index on the zip code field but I can’t find the proper syntax. Up until this point my indices have been fairly simple, so my first try was the following:

type Query {
    findUsersByZipCode(zipCode: String!): [User!]
}

I get a syntax error on that. I’ve tried but I can’t seem to find the magic.
The one thing that works is moving zipCode from Address into User like this:

type Address @embedded {
  street: String!
  city: String!
}

type User @collection(name: "users") {
  name: String!
  address: Address!
  zipCode: String! @unique
}

That works but isn’t desirable.
Is this even doable?
Thank you

@oopfan I don’t think we support an Index on a field in embedded type automatically through GraphQL schema Import. A workaround is to create the Index manually on the embedded field, add a @resolver directive to the query and update UDF to use that Index.

I will get a ticket to Product to add this feature.

Hope this helps.