ZupIT / beagle

A framework to help implement Server-Driven UI in your apps natively.
https://docs.usebeagle.io
Apache License 2.0
686 stars 90 forks source link

beagle-spring-starter interferes with pre-existing endpoints #1822

Closed manosbatsis closed 2 years ago

manosbatsis commented 2 years ago

Use case

Using beagle-spring-starter seems to interfere with existing REST, JSON-API, GraphQL etc. endpoints.

Proposal

Add a configuration property or HOWTO for restricting Beagle's URL matches based on:

  1. URL pattern(s) e.g. /sdui/** and/or
  2. existence of BeaglePlatformUtil.BEAGLE_PLATFORM_HEADER as an HTTP request header
Tiagoperes commented 2 years ago

Thanks for reporting. @hernandazevedozup will check this asap.

hernandazevedozup commented 2 years ago

The fix for this issue has been released on 2.0.2