Advanced Usage
This section covers advanced topics for developers who need to go beyond the standard client methods or troubleshoot issues. Here, you'll learn how to execute raw GraphQL queries directly against the Blocklet Server API and how to enable debugging to inspect the underlying requests and responses.
These features provide greater flexibility and insight, allowing for custom integrations and efficient problem-solving.
Why Use Advanced Features?#
While the pre-defined methods in the Blocklet Server Client cover the vast majority of use cases, you might need advanced features for:
- Executing Newly Added API Features: Accessing GraphQL fields or mutations that have been added to Blocklet Server but are not yet available as a dedicated method in the client.
- Complex Data Fetching: Building highly specific or aggregated queries in a single request to optimize performance.
- Troubleshooting: Directly inspecting the raw request and response payloads to diagnose integration problems.
With these advanced techniques, you can extend the client's functionality and effectively diagnose any issues.