-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Enrich proxy URL with more context #7
Comments
Hey @nityam01, answering your questions:
Hope that helps! |
So what I understand by this is that
Detail Enter By User: { API route name: "Unsplash Photos", Endpoint URL:'...', method: "GET" } Proxy URL: https://diode.vercel.app/api/v1/unsplash-photos-9icUqheIAlSQy
|
Yes, you got the flow right.
This is for future and not in scope for this issue right now. |
Hey, Akash can you assign this issue to me... I will start working on this issue and make a commit once I have done. |
Proxy URLs generated in Diode right now are not human-readable and don't have any context about what the API endpoint actually does.
This can be improved by updating the proxy URL
id
to include the route name entered by the user.Example:
{route-name encoded in a URL friendly way}-{nanoid of a shorter length}
In this case, the route name cannot be changed once it's created.
The text was updated successfully, but these errors were encountered: