Simon
Simon
Displaying the tag names under each items:  The filter are clickable and filter the list of items matching the tag name I need now to finish to update the...
The custom field `Encrypted` is defined in the following file: https://github.com/dwyl/fields/blob/master/lib/encrypted.ex When a token is saved the the `dump` function is called: ```elixir def dump(value) do ciphertext = value |>...
Yes I'm looking at the [Ecto.Type](https://hexdocs.pm/ecto/Ecto.Type.html) documentation to see if there is a way to pass the `key_id` from our application to the Ecto logic (`dump` and `load`) functions. Hopefully...
I've testing in `iex` getting back the tokens saved, it works but because the load function assume the key is the latest one agian: ```elixir # as above but *asumes*...
My first idea to be able to save the token and the index of the key is for our custom type `Encrypted` to save a tupe or a map, eg:...
I was also wondering if a custom ecto type could save data in two different fields (ie token, key_id) however it doesn't seem possible: https://elixirforum.com/t/ecto-type-for-two-fields-in-database/4914/4 Another solution mentioned on the...
Reading again the phoenix-ecto-encryption-example: https://github.com/dwyl/phoenix-ecto-encryption-example#5-use-encryptedfield-ecto-type-in-user-schema   We can see that the `dump` function is called inside in the changeset. I assumed that the `dump` and `load` functions were called...
So we could use `dump\2` in the `changeset` function to encrypt the token with a specific key (```dump(token, key_id)```), this means that the required callback `dump/1` define by the behaviour...
This timer feature sounds good to me. I have a few questions link to the timer which might help us later on to scope the feature of the application: -...
# Add new Elm project to Phoenix - Make sure you have Elm installed: https://guide.elm-lang.org/install/ - Create a new elm project in the assert folder `cd assets & elm init`...