-
Notifications
You must be signed in to change notification settings - Fork 4
Fixed configuration bug. Added json support #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Hi @Littlejd1997, thanks for your contribution. |
|
An error would occur if no explicit configuration was used. The second json feature was for encrypting fields which were formerly jsonb columns in a postgres db. Basically, if a hash is passed in, then its converted to json and then encrypted and stored. Likewise, if it can parse json, it will parse it and return a hash on decryption |
|
Also, I was getting a "must exist to store encrypted data" error when running some of our older migrations before the enc field was created and our migrations would fail |
|
With your JSON feature, if you enable Data Serialization (described here) then high level data structures should already be encoding and decoded transparently by the msgpack library. Does your proposed feature differ in function from this? With your "must exist to store encrypted data" error, I can see why that might occur, it might make more sense to not just comment it out, but move the validation to inside the |
|
I added another commit. I change the |
|
Thanks, I'll have a look into it Monday. Do you have a reply to my questions above? |
|
I've addressed the bugs you've reported, please let me know about that JSON issue if it continues to be one. |
No description provided.