Repository navigation
feat(types): true-by-default bools are *bool; remove hub.Internal - #51
Merged
Merged
Conversation
…teway Regenerated from gateway refactoringV2 7adfd6df0. Exactly 11 Hub fields change from bool to *bool with omitempty: DryRun (ImportUsersRequest, RepairLoginProjectIdsRequest, RepairContactRolesRequest, EndUserOwnRecordsReportRequest), IsSandbox (MontonioPaymentIntegrationRequest), Publish (ApplyDatabaseSchemaBundleRequest), GenerateRecoveryCodesAtSignup (SavePasskeySettings), IncludeRawPayload (WebhookDeliverySettingsDto), IsEnabled (EmbeddingIntegrationRequest, EmailValidationIntegrationRequest, SaveWebhookDestinationRequest). nil is not sent and the gateway reads it as true, so an unset IsSandbox stays in sandbox mode. Use norbix.Bool(false) to switch one off. Breaking: DryRun / IsSandbox / IsEnabled / Publish / GenerateRecoveryCodesAtSignup / IncludeRawPayload are optional now; empty = true on the gateway. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… tooling client.Hub.Internal and InternalsTypeGen (GET /internal/_typegen) are gone. The route is the gateway's type-generator tooling, not product. A test now fails if any api/hub module calls an /internal/* route again (owner 2026-10-22: /internal/* is not SDK surface). Breaking: the /internal/_typegen method (hub.internal) is removed — it was gateway tooling. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
🎉 This PR is included in version 2.33.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Breaking: the /internal/_typegen method (hub.internal) is removed — it was gateway tooling. Breaking: DryRun / IsSandbox / IsEnabled / Publish / GenerateRecoveryCodesAtSignup / IncludeRawPayload are optional now; empty = true on the gateway.
What changed
*boolwithomitempty: DryRun (ImportUsersRequest, RepairLoginProjectIdsRequest, RepairContactRolesRequest, EndUserOwnRecordsReportRequest), IsSandbox (MontonioPaymentIntegrationRequest), Publish (ApplyDatabaseSchemaBundleRequest), GenerateRecoveryCodesAtSignup (SavePasskeySettings), IncludeRawPayload (WebhookDeliverySettingsDto), IsEnabled (EmbeddingIntegrationRequest, EmailValidationIntegrationRequest, SaveWebhookDestinationRequest). nil is not sent; the gateway reads it as true.norbix.Bool(false)switches one off.client.Hub.Internal(InternalsTypeGen, GET /internal/_typegen) removed. A new test fails if any module calls an /internal/* route again (owner 2026-10-22: /internal/* is not SDK surface).Tests
go build ./... && go vet ./... && gofmt -l .clean;go test ./...green (666 tests and subtests), including TestSaveMontonioIntegrationLeavesUnsetIsSandboxOut, TestTrueByDefaultFieldsAreNotSentWhenNil, TestNoModuleCallsAnInternalRoute.🤖 Generated with Claude Code