You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consider returning null instead of -1 for non-existent customer IDs in the getCustomerId function. Returning -1 may lead to confusion if customerId is expected to be a non-negative number. \n\nFor more details, see the discussion in PR #2037 and the specific comment.
The text was updated successfully, but these errors were encountered:
Consider returning
null
instead of-1
for non-existent customer IDs in thegetCustomerId
function. Returning-1
may lead to confusion ifcustomerId
is expected to be a non-negative number. \n\nFor more details, see the discussion in PR #2037 and the specific comment.The text was updated successfully, but these errors were encountered: