Skip to content

Comments

Enhancement: Add support for ?any? column types (e.g. json)#48

Open
Ninos wants to merge 3 commits intomogilvie:masterfrom
Ninos:support-any-column-types
Open

Enhancement: Add support for ?any? column types (e.g. json)#48
Ninos wants to merge 3 commits intomogilvie:masterfrom
Ninos:support-any-column-types

Conversation

@Ninos
Copy link

@Ninos Ninos commented Sep 12, 2023

Covert values before/after encryption/decrytion by using doctrine internal converter.

PS: I've tested it with json as field, should also work with all others (object, array, simple_array, ...)

@Ninos Ninos force-pushed the support-any-column-types branch from 17d7030 to edcca35 Compare September 12, 2023 17:03
@Ninos Ninos force-pushed the support-any-column-types branch from edcca35 to c96efed Compare September 16, 2023 02:22
Small hardening because of the encrypt->decrypt->encrypt (raw) part.... If already string, skip converting value to database value
@mogilvie
Copy link
Owner

Thankyou for the pull request. I will look to do this in V4 over the next week or two.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants