firebase-admin-node
firebase-admin-node copied to clipboard
Incorrect type for CreateRequest.phoneNumber
[READ] Step 1: Are you in the right place?
- For issues related to the code in this repository file a Github issue.
- If the issue pertains to Cloud Firestore, read the instructions in the "Firestore issue" template.
- For general technical questions, post a question on StackOverflow with the firebase tag.
- For general Firebase discussion, use the firebase-talk google group.
- For help troubleshooting your application that does not fall under one of the above categories, reach out to the personalized Firebase support channel.
[REQUIRED] Step 2: Describe your environment
- Operating System version: _____
- Firebase SDK version: 13.4.0
- Firebase Product: auth
- Node.js version: 22.11
- NPM version: ??? (I use pnpm)
[REQUIRED] Step 3: Describe the problem
Per https://github.com/firebase/firebase-admin-node/issues/1508, phoneNumber is not nullable for create requests.
Steps to reproduce:
- Try to create a user with
phoneNumber = null. - Get an error from the API
This is also somewhat related to https://github.com/firebase/firebase-admin-node/issues/2450.