Project

General

Profile

Actions

Feature #27190

closed

graphql: add plugin DSL for registering plugin fields

Added by Ondřej Pražák over 4 years ago. Updated over 4 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 #1

Updated by Ondřej Pražák over 4 years ago

Actions #2

Updated by The Foreman Bot over 4 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/6866 added
Actions #3

Updated by The Foreman Bot over 4 years ago

  • Fixed in Releases 1.23.0 added
Actions #4

Updated by Ondřej Pražák over 4 years ago

  • Status changed from Ready For Testing to Closed
Actions #5

Updated by Amit Upadhye over 4 years ago

  • Category set to API
Actions #6

Updated by Ondřej Pražák over 4 years ago

  • Related to Bug #27500: rake db:migrate fails on missing relation when registering fields from plugins added
Actions

Also available in: Atom PDF