Skip to content
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

fix(cli): namespacing no longer breaks when objects conflict across namespaces #4673

Merged
merged 13 commits into from
Sep 17, 2024

Conversation

armandobelardo
Copy link
Contributor

@armandobelardo armandobelardo commented Sep 17, 2024

This PR introduces a new feature, adding support for chat messages in the API. It also includes some refactoring and bug fixes.

Changes

  • Added a new V2ChatMessages type to represent chat messages.
  • Added a new messages field to the Pet and Station types.
  • Refactored the writeDefinitionForOpenAPIWorkspace function to use a new writeModels function.
  • Updated the Endpoint and Webhook types to include a new WithNamespace field.
  • Updated the EndpointWithExample type to include a new WithNamespace field.
  • Updated the Namespace type to include a new WithNamespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace type to include a new namespace field.
  • Updated the NamespaceId type to include a new namespace field.
  • Updated the WithNamespace

Copy link

gitguardian bot commented Sep 17, 2024

⚠️ GitGuardian has uncovered 5 secrets following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secrets in your pull request
GitGuardian id GitGuardian status Secret Commit Filename
6585115 Triggered Generic High Entropy Secret 44dca16 packages/cli/openapi-ir-to-fern/src/test/snapshots/axle.test.ts.snap View secret
6585115 Triggered Generic High Entropy Secret 44dca16 packages/cli/openapi-ir-to-fern/src/test/snapshots/axle.test.ts.snap View secret
6585115 Triggered Generic High Entropy Secret 44dca16 packages/cli/openapi-ir-to-fern/src/test/snapshots/axle.test.ts.snap View secret
6585115 Triggered Generic High Entropy Secret 44dca16 packages/cli/openapi-ir-to-fern/src/test/snapshots/axle.test.ts.snap View secret
13738502 Triggered Generic High Entropy Secret 46cb3fb generators/java/sdk/versions.yml View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secrets safely. Learn here the best practices.
  3. Revoke and rotate these secrets.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

@armandobelardo armandobelardo changed the title [DNM] Un-botched merge from namespacing fix(cli): namespacing no longer breaks when objects conflict across namespaces Sep 17, 2024
@armandobelardo armandobelardo marked this pull request as ready for review September 17, 2024 21:44
@armandobelardo armandobelardo merged commit a97860e into main Sep 17, 2024
47 checks passed
@armandobelardo armandobelardo deleted the ab/fix-namespacing-again branch September 17, 2024 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants