Skip to content

Conversation

@AlexisSouquiere
Copy link
Collaborator

@AlexisSouquiere AlexisSouquiere commented Jan 31, 2023

GET /topic/{topicName}/data returns in the after variable the URI to call to get the next page of data. When using context-path in Micronaut, the context-path is added in the URI.
image

The problem is that we add it another time in the uriTopicData endpoint.
image

This leads to a /linked/linked/api/... call which fails and show the issue mentionned in #1298.
image

If we keep only the after URI as it is and don't add the basePath, pagination works well with context-path

@AlexisSouquiere
Copy link
Collaborator Author

Hi @tchiotludo ! Will you have time to check this other PR please ?

@tchiotludo tchiotludo merged commit d8627c6 into tchiotludo:dev Feb 13, 2023
@tchiotludo
Copy link
Owner

prefect thanks 🚀

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