> ## Documentation Index
> Fetch the complete documentation index at: https://helix-digitalocean.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# E645

# Empty Object Remapping

This error occurs when you define an object remapping with no fields.

## Example

<CodeGroup>
  ```rust queries.hx theme={null}
  Query getUser(userId: ID) =>
      user <- N<User>(userId)
      RETURN user::{}
  ```
</CodeGroup>

## Solution

<CodeGroup>
  ```rust queries.hx theme={null}
  Query getUser(userId: ID) =>
      user <- N<User>(userId)
      RETURN user::{name}
  ```
</CodeGroup>
