Skip to content

Add new GraphQLDirectiveProvider for custom directives #557

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

Closed
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Switch getDirectives to return Collection instead
Co-authored-by: Federico Rispo <dev@federicorispo.com>
  • Loading branch information
gflores-jahia and federicorispo authored Feb 8, 2024
commit d9d2d1d22e7c2de3beeb4a2bc0da99db5d5a538b
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package graphql.kickstart.servlet.osgi;

import graphql.schema.GraphQLDirective;
import java.util.Set;
import java.util.Collection;


public interface GraphQLDirectiveProvider extends GraphQLProvider {

/** @return A collection of directive definitions that will be added to the schema. */
Set<GraphQLDirective> getDirectives();
Collection<GraphQLDirective> getDirectives();

}