Comments (4)
@binoy14 I think I triggered this in my recent PR merge. Is this the type of error you're talking about?
https://github.com/FormidableLabs/nextjs-sanity-fe/runs/7661103739?check_suite_focus=true
Log from the sanity deploy graphql section:
Dataset: production
Tag: default
- Checking for deployed API
✔ Checking for deployed API
- Generating GraphQL schema
✔ Generating GraphQL schema
- Validating GraphQL API
⚠ Validating GraphQL API
Found BREAKING changes from previous schema:
- Blog was removed.
- BlogFilter was removed.
- BlogSorting was removed.
- RootQuery.Blog was removed.
- RootQuery.allBlog was removed.
Error: Dangerous changes found - falling back. Re-run the command with the `--force` flag to force deployment.
at deployApiActions (~/work/nextjs-sanity-fe/nextjs-sanity-fe/node_modules/.pnpm/@[email protected]_sfoxds7t5ydpegc3knd667wn6m/node_modules/@sanity/core/lib/actions/graphql/deployApiAction.js:[17](https://github.com/FormidableLabs/nextjs-sanity-fe/runs/7661103739?check_suite_focus=true#step:9:18)8:13)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
undefined
ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL [email protected] deploy-graphql: `sanity graphql deploy`
from nextjs-sanity-fe.
Yes for this specific case, I was testing something on my draft PR #18 you can deploy forcefully locally. running pnpm deploy-sanity-graphql
they are fine to remove for now I will get the PR ready for review tomorrow
from nextjs-sanity-fe.
Makes sense. I do think it's a useful feature to have, though. Perhaps we should be creating sanity PR environments for you to test these schema changes so that we can avoid turning on the force feature?
from nextjs-sanity-fe.
On second thought, I think forcing is probably the right thing to do for now. It's a good way to set things back to the proper state if they drift too far from people making local changes. Will do a quick pr to fix this
from nextjs-sanity-fe.
Related Issues (20)
- Revise setup guide
- Mobile bugs HOT 5
- Mobile issues for nextjs-sanity
- Upgrade version of TS
- Upgrade to Sanity Studio V3
- Content Modeling: remove Product Images
- Content Modeling: Better Product > Variant authoring experience
- Unify queries: remove GraphQL/urql
- Quick Q
- Possible Filter UI improvement HOT 1
- Update Studio Desk Structure
- Migrate from groq to groqd
- UI Fixes
- Add 'Add to Cart' button in Bestsellers section
- Add 'Trusted by' section on home page
- Add 'Add to Cart' button in Related Products on Product Detail page
- Mobile Nav: Categories menu
- Add filter count to the filters button on smaller screen sizes
- PoC: Strongly-typed schema HOT 2
- PoC: Make zod optional HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nextjs-sanity-fe.