Skip to content

Conversation

Cryt1c
Copy link
Contributor

@Cryt1c Cryt1c commented Jun 23, 2022

Continuation of #1220

I have added an additional argument for the relationship type.

@joaogarin joaogarin requested a review from klausi July 8, 2022 06:00
@joaogarin joaogarin added the 4.x label Jul 8, 2022
Copy link
Contributor

@klausi klausi left a comment

Choose a reason for hiding this comment

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

Thanks, looks good to me. The test case is a bit weak since it does not really test anything, but should be good enough for this simple change.

* "entity" = @ContextDefinition("entity",
* label = @Translation("Entity")
* ),
* "rel" = @ContextDefinition("any",
Copy link
Contributor

Choose a reason for hiding this comment

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

data type should be string

@klausi klausi merged commit 1134c1d into drupal-graphql:8.x-4.x Jul 11, 2022
@klausi
Copy link
Contributor

klausi commented Jul 11, 2022

I pushed a small follow-up to fix the context data type.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants