node-auth0 icon indicating copy to clipboard operation
node-auth0 copied to clipboard

Every property is optional ConnectionForList, even id and name

Open Zertz opened this issue 8 months ago • 3 comments

Checklist

  • [x] I have looked into the Readme, Examples, and FAQ and have not found a suitable solution or answer.
  • [x] I have looked into the API documentation and have not found a suitable solution or answer.
  • [x] I have searched the issues and have not found a suitable solution or answer.
  • [x] I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • [x] I agree to the terms within the Auth0 Code of Conduct.

Description

#1093 changed the type from Connection to ConnectionForList but in the process made every property optional, which seems like a rather odd choice considering at least id and name are mandatory.

As asked by @cwkfs, why was this change made?

Reproduction

  1. Upgrade to v4.22.0

Additional context

No response

node-auth0 version

4.22.0

Node.js version

20

Zertz avatar Apr 23 '25 14:04 Zertz