Closed duedares-rvj closed 1 month ago
Attention: Patch coverage is 63.63636%
with 4 lines
in your changes missing coverage. Please review.
Project coverage is 89.37%. Comparing base (
3e91dcd
) to head (471eaec
).
Files with missing lines | Patch % | Lines |
---|---|---|
internal/auth0/role/data_source.go | 63.63% | 3 Missing and 1 partial :warning: |
The
auth0_roles
data-source presently utilisedOffset Pagination
for fetching all users associated to a particular role. This limited them to only retrieve 1000 users at max.Update this implementation to use
Checkpoint Pagination
which retrieves the full list.🔧 Changes
📚 References
https://auth0.com/docs/api/management/v2/roles/get-role-user
🔬 Testing
Created 1500 users and associated them to a role. Used
auth0_role
to fetch all the users.📝 Checklist