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
Hi leafo, I've been really digging lapis and I understand that there are some caveats regarding lua handling null values, I want to know if there is a way to get the raw body of a request that contains a json body and use some parsing library that would retrieve null values as something else, the other thing i would find very useful is a way to configure the database layer to return null values as db.Null instead of null, I don't know if there is already a solution for that but I can't seem to find one, I'm currently developing a json rest api and the lack of data integrity hurts, especially in the frontend.
The text was updated successfully, but these errors were encountered:
Hi leafo, I've been really digging lapis and I understand that there are some caveats regarding lua handling null values, I want to know if there is a way to get the raw body of a request that contains a json body and use some parsing library that would retrieve null values as something else, the other thing i would find very useful is a way to configure the database layer to return null values as db.Null instead of null, I don't know if there is already a solution for that but I can't seem to find one, I'm currently developing a json rest api and the lack of data integrity hurts, especially in the frontend.
The text was updated successfully, but these errors were encountered: