Skip to content

Support schema generation for expand option #62

@pawcoding

Description

@pawcoding

Motivation

In our quest to add the expand parameter, generating the correct schema is the next logical step. This schema will then be used for the build time loader, and the resulting type can then also be used in the live loader.

Proposed Solution

Parse the expand option and request and process any additional PocketBase schemas needed. This includes:

  • Generating the expand schema for every parameter specified
  • Doing this recursively, up to 6 levels deep (limit by PocketBase)
  • Check for single or multi relation fields

Additional Context

See #59 for more information

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority/low[internal] It's not sure if this will be done everteam/internal[internal] This will be done by the core teamtype/featureNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions