Project

General

Profile

Actions

Feature #27190

closed

graphql: add plugin DSL for registering plugin fields

Added by Ondřej Pražák almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Category:
API
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

We need a way how to extend query type with queries from plugins. The intuitive approach of using a concern will not work, because code in engine.rb gets executed on application start. That causes problems when plugin migrations are down, because graphql tries to call active record, but the tables for new types have not yet been created.


Related issues 2 (0 open2 closed)

Related to Foreman - Feature #26541: graphql: add plugin DSLClosedTimo GoebelActions
Related to Foreman - Bug #27500: rake db:migrate fails on missing relation when registering fields from pluginsClosedOndřej PražákActions
Actions

Also available in: Atom PDF