Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(next-drupal): translatePath, getResourceByPath - throw error when backend error #739

Commits on Apr 14, 2024

  1. feat(next-drupal): translatePath, getResourceByPath - throw error whe…

    …n backend error
    
    Until now, any not-ok response from decoupled router was treated equally, as a 404 Not Found.
    Behaviour is changed differentiating between 404 Not Found and server error.
    The advantage is frontend holds to previous built page and doesn't update public page content
    with a 404 due to backend issues.
    
    BREAKING CHANGE:
    Might break sites relying on response being the same in 404 than in 50x.
    
    Fixes chapter-three#687
    marcorcau committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    c5c9e80 View commit details
    Browse the repository at this point in the history