Hi there…
After parsing my JSON to structs, I have ended up with some pretty basic modules which are purely just struct definitions… e.g.
defmodule MyApp.Modifier do
defstruct [:type, :params]
end
Thats it! As I start parsing the rest of my JSON structure, I feel that I might be left with a few more of these floating in my /lib/my_app folder…
Is there a particular convention that anyone has found useful when namespacing these? I can’t seem to think of anything that makes sense to me yet and I “feel” like they are just floating there in my lib but should be somewhere else…