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

Bug/issue 1059 api routes and api calls overlap #1062

Merged

Conversation

thescientist13
Copy link
Member

@thescientist13 thescientist13 commented Feb 10, 2023

Related Issue

resolves #1059

Summary of Changes

  1. Properly detect API routes directory for hybrid server detection
  2. Within hybrid server, properly detect for API Routes from /api* calls

TODO

  1. Should probably be able to find way to test this

@thescientist13 thescientist13 added bug Something isn't working alpha.2 v0.28.0 labels Feb 10, 2023
@thescientist13 thescientist13 changed the base branch from master to release/0.28.0 February 10, 2023 15:04
@thescientist13 thescientist13 force-pushed the bug/issue-1059-api-routes-and-api-calls-overlap branch from 6fc1bd7 to 6602494 Compare February 18, 2023 01:22
@thescientist13 thescientist13 self-assigned this Feb 18, 2023
Copy link
Member Author

@thescientist13 thescientist13 left a comment

Choose a reason for hiding this comment

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

In light of #1070 , just wanted to capture that after a rebase, all the specs are at least passing locally

  2582 passing (5m)
  28 pending

@thescientist13 thescientist13 force-pushed the bug/issue-1059-api-routes-and-api-calls-overlap branch from 6602494 to 84e630f Compare February 18, 2023 19:29
@thescientist13 thescientist13 merged commit 1d1728d into release/0.28.0 Feb 18, 2023
@thescientist13 thescientist13 deleted the bug/issue-1059-api-routes-and-api-calls-overlap branch February 18, 2023 19:43
thescientist13 added a commit that referenced this pull request Apr 9, 2023
* better handle detecting and serving API routes and not confusing with /api requests

* add test case for API proxy and API routes overlap for serve command

* remove runner logging
thescientist13 added a commit that referenced this pull request Apr 9, 2023
* better handle detecting and serving API routes and not confusing with /api requests

* add test case for API proxy and API routes overlap for serve command

* remove runner logging
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working CLI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

API calls are getting treated as API routes with the serve command
1 participant