Skip to content

Conversation

klausi
Copy link
Contributor

@klausi klausi commented Jul 11, 2022

No description provided.

@klausi klausi merged commit 92d8682 into drupal-graphql:8.x-4.x Jul 11, 2022
@klausi klausi deleted the context-aware-plugin-base-removed branch July 11, 2022 13:56
@akhomy
Copy link
Contributor

akhomy commented Oct 4, 2022

Hey @klausi .

It seems this PR can break some data producers that are using some of the traits from the ContextAwarePluginBase.
The main case could be using the translation $this->t(.
Used traits:

  use ContextAwarePluginTrait;
  use TypedDataTrait;
  use StringTranslationTrait;
  use DependencySerializationTrait;

What do you think? Should we move traits as well in order to support compatibility?

@klausi
Copy link
Contributor Author

klausi commented Oct 4, 2022

Hi, yes makes sense to add back the traits to the base class. That is a bit unfortunate, sorry!

@akhomy
Copy link
Contributor

akhomy commented Oct 4, 2022

No worries, I'll see if I can prepare PR.

@akhomy
Copy link
Contributor

akhomy commented Oct 4, 2022

Created PR with update - #1308

klausi added a commit to klausi/graphql that referenced this pull request Sep 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants