Open Thomas-Wesley-BSA opened 2 years ago
@Thomas-Wesley-BSA is attempting to deploy a commit to the Plasmic Team on Vercel.
A member of the Team first needs to authorize it.
Very cool!
More wanted functionality came up at work today - namely ability to choose which field to match on for the "Entry UID" prop, with the current behavior (UID) being the default.
We want to use dynamic paths to pull a single entry, and this will let us use url/pretty-custom-slug instead of url/4f7ds89a7gre
I've drafted the PR until said functionality is done, then I'll reopen it.
Done. It is only meant to work properly for string fields at the moment. It would be possible to fix this in the future, as we have access to the schema so there can be different behavior for string/number/boolean/etc... But to implement that properly the prop type will need to be dynamic, which it isn't at the moment (and I imagine would be a complicated change).
The latest updates on your projects. Learn more about Vercel for Git ↗︎