这是indexloc提供的服务,不要输入任何密码
Skip to content

fix(use correct serialization logic for turbo.json) #3580

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Feb 1, 2023

Conversation

chris-olszewski
Copy link
Member

Fixes #3570

The issue here was that we implemented the custom marshalling behavior on a pointer of TaskDefinition, but the pipeline is map[string]TaskDefinition. I chose to change the MarshalJSON implementation to not be on a pointer type. I also added custom marshalling behavior to output mode so we no longer output the number of the enum.

@chris-olszewski chris-olszewski marked this pull request as ready for review February 1, 2023 19:03
@chris-olszewski chris-olszewski requested a review from a team as a code owner February 1, 2023 19:03
@vercel
Copy link

vercel bot commented Feb 1, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
turbo-site ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Feb 1, 2023 at 8:56PM (UTC)
9 Ignored Deployments
Name Status Preview Comments Updated
examples-basic-web ⬜️ Ignored (Inspect) Visit Preview Feb 1, 2023 at 8:56PM (UTC)
examples-cra-web ⬜️ Ignored (Inspect) Visit Preview Feb 1, 2023 at 8:56PM (UTC)
examples-designsystem-docs ⬜️ Ignored (Inspect) Visit Preview Feb 1, 2023 at 8:56PM (UTC)
examples-kitchensink-blog ⬜️ Ignored (Inspect) Visit Preview Feb 1, 2023 at 8:56PM (UTC)
examples-native-web ⬜️ Ignored (Inspect) Visit Preview Feb 1, 2023 at 8:56PM (UTC)
examples-nonmonorepo ⬜️ Ignored (Inspect) Visit Preview Feb 1, 2023 at 8:56PM (UTC)
examples-svelte-web ⬜️ Ignored (Inspect) Visit Preview Feb 1, 2023 at 8:56PM (UTC)
examples-tailwind-web ⬜️ Ignored (Inspect) Visit Preview Feb 1, 2023 at 8:56PM (UTC)
examples-vite-web ⬜️ Ignored (Inspect) Visit Preview Feb 1, 2023 at 8:56PM (UTC)

@vercel
Copy link

vercel bot commented Feb 1, 2023

@chris-olszewski is attempting to deploy a commit to the Vercel Team on Vercel.

A member of the Team first needs to authorize it.

@chris-olszewski chris-olszewski merged commit 27d2744 into vercel:main Feb 1, 2023
@chris-olszewski chris-olszewski deleted the olszewski/fix_3570 branch February 1, 2023 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[turborepo] turbo prune in v1.7.1 generates turbo.json file that breaks commands
2 participants