Allow Passing Optional Fields for the `_users` Table
AbegaM opened this issue · comments
Abenezer Melkamu commented
Is your feature request related to a problem? Please describe.
Currently when users send a request to the POST /api/tables/_users/rows
API, we are only extracting the username
and the password
fields for this request. Ideally, we need to accept some optional fields like email
, age
, dateOfBirth
, and etc.
Describe the solution you'd like
We need to modify the registerUser
middleware function at src/controllers/auth/user.js
to extract and save the optional fields.