Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

feat(schema): add experimental routeRules #7954

Merged
merged 9 commits into from Oct 17, 2022
Merged

feat(schema): add experimental routeRules #7954

merged 9 commits into from Oct 17, 2022

Conversation

danielroe
Copy link
Member

πŸ”— Linked issue

https://github.com/nuxt/framework/discussions/560

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

This allows specifying a top-level routes option for route rules. Given how prominent this feature might end up being, I think the DX is worth it.

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@danielroe danielroe added nitro schema 🍰 p2-nice-to-have Priority 2: nothing is broken but it's worth addressing labels Oct 2, 2022
@danielroe danielroe requested a review from pi0 October 2, 2022 12:43
@danielroe danielroe self-assigned this Oct 2, 2022
@codesandbox
Copy link

codesandbox bot commented Oct 2, 2022

CodeSandbox logoCodeSandbox logoΒ  Open in CodeSandbox Web Editor | VS Code | VS Code Insiders

@netlify
Copy link

netlify bot commented Oct 2, 2022

βœ… Deploy Preview for nuxt3-docs canceled.

Name Link
πŸ”¨ Latest commit 95554ca
πŸ” Latest deploy log https://app.netlify.com/sites/nuxt3-docs/deploys/634d3aa0ea2a5a0008aada40

@vercel vercel bot temporarily deployed to Preview October 4, 2022 12:18 Inactive
@danielroe danielroe mentioned this pull request Oct 9, 2022
@pi0 pi0 changed the title feat(schema): add routes as shortcut for nitro.routes feat(schema): add experimental routes as shortcut for nitro.routes Oct 17, 2022
packages/schema/src/config/nitro.ts Outdated Show resolved Hide resolved
packages/schema/src/config/nitro.ts Outdated Show resolved Hide resolved
@pi0 pi0 changed the title feat(schema): add experimental routes as shortcut for nitro.routes feat(schema): add experimental routesRules Oct 17, 2022
@pi0 pi0 merged commit df2bad7 into main Oct 17, 2022
@pi0 pi0 deleted the feat/schema-alias branch October 17, 2022 11:22
@danielroe danielroe changed the title feat(schema): add experimental routesRules feat(schema): add experimental routeRules Oct 17, 2022
@danielroe danielroe added the 3.x label Jan 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
3.x nitro 🍰 p2-nice-to-have Priority 2: nothing is broken but it's worth addressing schema
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants