graphql/

directory
v1.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 26, 2025 License: MIT

README

GraphQL Examples

Overview

This directory contains examples demonstrating how to use the GraphQL components of the ServiceLib library. Each example is a complete, runnable application that showcases specific features and usage patterns.

Examples

Running the Examples

Each example can be run from its directory using:

go run main.go

License

This project is licensed under the MIT License - see the LICENSE file for details.

Directories

Path Synopsis
Example demonstrating how to check authorization in GraphQL operations
Example demonstrating how to check authorization in GraphQL operations
Example demonstrating how to register the @isAuthorized directive in a GraphQL server
Example demonstrating how to register the @isAuthorized directive in a GraphQL server
Example demonstrating how to generate JWT tokens for testing GraphQL RBAC
Example demonstrating how to generate JWT tokens for testing GraphQL RBAC
Example demonstrating how to check authorization in a GraphQL resolver
Example demonstrating how to check authorization in a GraphQL resolver

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL