Stephen Ierodiaconou
Stephen Ierodiaconou
In relation to the issue I was creating a repro for, I guess it is unsupported behaviour. We are using `automatic_namespaces` but packs readme says zeitwerk default namespaces are not...
@alexevanczuk thanks for the detailed reply! I will def see if the latest changes help with the issue I was having. And could try my hand at implementing the `init`...
Happy to say I think the latest version fixes the issue for me! ``` stephen$ time bin/packwerk check packs/api_filter_query/ 📦 Packwerk is inspecting 43 files ........................................... 📦 Finished in 7.09...
Actually sorry, I was checking the wrong pack! I still see some unexpected violations. packs is picking up a definition of a class from another pack rather than a class...
Closed by #214 and #149
Nice. Just a thought (am on holiday so can't play with the code myself unf) how does this tie up with Enum? Eg instead of defining flags with the define...
Just playing with Enums in AR, if a project depends on `pg` then something like this is useful: ``` class LiteralEnumInArrayType < Literal::Rails::EnumType def deserialize(values) PG::TextDecoder::Array.new.decode(values).map { super(_1) } end...
Others that pop to mind "verify", "confirm", "check" , "guarantee" (maybe too strong of a word!)
@gap777 Hey, since I raised this I have been using my own local modified copy of the gem, which is: https://gist.github.com/stevegeek/ec1efe6358f08d61c81f47270e436457 . Unfortunately I can't remember what else I might...