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

Enable use on UUID and integer fields #5

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gla23
Copy link

@gla23 gla23 commented Sep 25, 2024

Hi, I don't know whether you want this simple change, but thought I may as well make a PR in case you do as others might find it useful.

I needed the extension to work for a UUID field so that I can open up a primary key in my frontend. This works great with the URL prefix option either using URL params (e.g. localhost/?id=<key>) or as a simple route key (e.g. localhost/items/<key>).

I added integer as well as the same logic follows for integer primary keys.

Thanks for the great extension!

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.

1 participant