Getting deprecations from this module due to a change in 8.8.0-beta1 https://www.drupal.org/project/drupal/issues/3080259

 2x: Drupal\jsonapi\JsonApiResource\Link::getLinkRelationTypes() is deprecated in drupal:8.8.0 and will be removed in drupal:9.0.0. Use getLinkRelationType() instead. See https://www.drupal.org/node/3087821.
    2x in HypermediaIntegrationTest::testAuthenticatedAsLink from Drupal\Tests\jsonapi_user_resources\Functional

  1x: Constructing a Drupal\jsonapi\JsonApiResource\Link with an array of link relation types is deprecated in drupal:8.8.0 and will throw a fatal error in drupal:9.0.0. Pass a single string instead. See https://www.drupal.org/node/3087821.
    1x in HypermediaIntegrationTest::testAuthenticatedAsLink from Drupal\Tests\jsonapi_user_resources\Functional
CommentFileSizeAuthor
#3 3106967-3.patch14.33 KBmglaman

Comments

mglaman created an issue. See original summary.

mglaman’s picture

Title: Fix deprecations from CR 3087821 » Fix @todo items that follow up to 3080259
mglaman’s picture

Status: Active » Needs review
StatusFileSize
new14.33 KB

I think this should do it.

gabesullice’s picture

Status: Needs review » Reviewed & tested by the community
Issue tags: +API-First Initiative

🎉🙏🙏🙏🙏

Thanks @mglaman! LGTM.

wim leers’s picture

🥳

  • gabesullice committed b4dc9a7 on 8.x-1.x authored by mglaman
    Issue #3106967 by mglaman: Fix @todo items that follow up to 3080259
    
gabesullice’s picture

Status: Reviewed & tested by the community » Fixed

Thanks @mglaman!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.