Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Research: Next Generation of a Headless Client - Working Prototype , Conceptual Architecture, cli considerations #2005

Open
josephfusco opened this issue Dec 5, 2024 · 1 comment
Assignees
Milestone

Comments

@josephfusco
Copy link
Member

Research and prototype a headless http client. The goal is to find a solution that fits with multiple headless architectures.

@josephfusco josephfusco added this to the Next Gen milestone Dec 5, 2024
@martinmcdonnell martinmcdonnell changed the title Research: Next Generation of a Headless Client Research: Next Generation of a Headless Client - Working Prototype , Conceptual Architecture, cli considerations Dec 10, 2024
@moonmeister
Copy link
Collaborator

Okay, notes on what a headless client could need to do.

  1. This is fundamentally a GraphQL client.
    1. Make GraphQL Queries
    2. Support for Persisted Queries
      • Persisted queries at build (webpack/vite integration) vs runtime persisted queries are more straight forward
    3. Extensible to support things like https://www.leefroese.com/blog/headless-wordpress-gravity-forms-uploads
  2. Support TS for writing queries and typing responses (possibly highly dependent on meta-framework)
  3. Support Authentication (multiple types)
    • Oauth
    • Token
    • Basic Auth
    • etc...
  4. support muliple endpoints for multisite and other GraphQL APIs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants