Skip to content

Create a schema with custom directives first change for #156 #1314

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MarcoFuykschot
Copy link

modified:   juniper/src/lib.rs
modified:   juniper/src/schema/model.rs

(feat) create schema with custom directives

First change for #156

	modified:   juniper/src/lib.rs
	modified:   juniper/src/schema/model.rs

(feat) create schema with custom directives
@tyranron tyranron added k::api Related to API (application interface) feature New feature or request labels May 2, 2025
Copy link
Member

@tyranron tyranron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MarcoFuykschot

First change for #156

Could you provide some grand vision/description of how it's supposed to work? And what would be the next steps?

From the provided example in the code and PR description, it's not very clear.

@MarcoFuykschot
Copy link
Author

@MarcoFuykschot

First change for #156

Could you provide some grand vision/description of how it's supposed to work? And what would be the next steps?

From the provided example in the code and PR description, it's not very clear.

Step 1: is allow custom directives, added to a schema to pass validation.
Step 2: Update graphql parser to support directive definitions
Step 3: Create a mechanisme for user code to react on directives during execution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request k::api Related to API (application interface)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants