intlify / routing

The i18n routing libraries
MIT License
16 stars 5 forks source link

fix: `resolve` util function #80

Closed BobbieGoede closed 1 year ago

BobbieGoede commented 1 year ago

Description

My previous PR broke the resolve utility function due to a bad refactor here https://github.com/intlify/routing/pull/79/files#diff-b0ab92703be7ecdd508824ff5b43bb9c67cc610b6ac6382cc8b0f3f5c6e00c8aL125-R130, this is the reason why 1889.spec.ts fails in https://github.com/nuxt-modules/i18n/pull/2534. Sorry for introducing breaking changes 🙇‍♂️ feels like it is happening too many times recently.

Ideally we could test the behavior expected in that test in this repo, but I'm not entirely sure how yet.

Linked Issues

https://github.com/nuxt-modules/i18n/pull/2534

Additional context