Skip to content

Question about best practices for Piccolo tables to API schemas #319

@KuchikiRenji

Description

@KuchikiRenji

I am exploring Piccolo and Piccolo API for building an async ASGI service.

I am curious about the recommended approach for connecting Piccolo tables to API schemas.
Specifically, I am interested in:

  • deriving request and response schemas from Piccolo tables
  • handling partial updates safely without duplicating field definitions
  • keeping ORM models and API schemas aligned as models evolve

I haven’t implemented this yet, so I am looking for guidance on the recommended patterns or examples.

If maintainers think this is useful, I would be interested in contributing documentation, examples, or a focused PR once I’ve tried it in practice.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions