johannschopplich / nuxt-api-party

๐Ÿฌ Securely connect to any API with a server proxy and generated composables
https://nuxt-api-party.byjohann.dev
MIT License
260 stars 10 forks source link

feat: custom `hashFn` composable option #51

Closed johannschopplich closed 1 year ago

johannschopplich commented 1 year ago

๐Ÿ”— Linked issue

Idea from #50

โ“ Type of change

๐Ÿ“š Description

@killjoy1221 To ease the need for your composable overwriting the hashing logic, why not add an option to the composable itself? What do you think? You could simplify your custom composable.

๐Ÿ“ Checklist

netlify[bot] commented 1 year ago

Deploy Preview for nuxt-api-party ready!

Name Link
Latest commit 47a37cafb6db84f83bbc95a9f191c5d6ee2b17bb
Latest deploy log https://app.netlify.com/sites/nuxt-api-party/deploys/650363da10759b000899aae5
Deploy Preview https://deploy-preview-51--nuxt-api-party.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

mattmess1221 commented 1 year ago

What about also providing the key as a plain string the same way useAsyncData does?

useMyData("key", "path")
johannschopplich commented 1 year ago

That's probably the more native solution. ๐Ÿ˜ƒ