-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(scopes): Update
WithTenantSchema
to support pointer to array/s…
…lice of structs This commit modifies the `scopes` package to improve the logic for retrieving table names. The previous `tableNameFromReflectValue` was renamed to `tableNameFromInterface`. Additionally, the `tableNameFromReflectValue` is now responsible for handling reflect values of arrays, and slices. These changes enhance the reliability and flexibility of table name retrieval in the `scopes` package.
- Loading branch information
1 parent
b699143
commit b0682b8
Showing
2 changed files
with
50 additions
and
10 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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