refactor: replace interface{} with any and use millisecond time formatting#733
Merged
developerkunal merged 1 commit intomainfrom Mar 24, 2026
Merged
refactor: replace interface{} with any and use millisecond time formatting#733developerkunal merged 1 commit intomainfrom
developerkunal merged 1 commit intomainfrom
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #733 +/- ##
=======================================
Coverage 87.75% 87.75%
=======================================
Files 315 315
Lines 137445 137445
=======================================
Hits 120615 120615
Misses 12332 12332
Partials 4498 4498 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
🔧 Changes
Auto-generated SDK regeneration to match the latest Auth0 API definition. Key changes:
interface{}→any: Replace allinterface{}occurrences with theanyalias across the entire SDK (actions, branding, clients, errors, event streams, flows, forms, requests, resource servers, types, users). This is a cosmetic/idiomatic change —anyis a built-in alias forinterface{}since Go 1.18 and is fully source-compatible.RFC3339Milliconstant ("2006-01-02T15:04:05.000Z07:00") and use it for query parameter time serialization instead oftime.RFC3339, ensuring the fixed.000millisecond suffix many APIs expect1. Time query parameter formatting — RFC 3339 → RFC 3339 with milliseconds
Query parameters containing
time.Timevalues now serialize with millisecond precision (.000) instead of omitting fractional seconds.Before:
After:
📚 References
Auto-generated via Fern SDK regeneration.
🔬 Testing
All modified types include updated auto-generated tests. Query encoding test updated to expect millisecond-precision timestamps.
📝 Checklist