Commit graph

4 commits

Author SHA1 Message Date
45aa60de3d feat(api): endpoint/4 declaration macro with compiled route table 2026-07-05 05:10:19 -03:00
202be23ba0 feat(struct): :number type, string-wire flags, wire_string opt, include_fields 2026-07-05 03:46:10 -03:00
a00e455c58 fix(struct): address code review feedback
- Formatting: add field/hydrate/discord_struct to locals_without_parens
  in .formatter.exs so the no-paren data-DSL style is the formatted form;
  mix format then wrapped the long codec encode_value/2 clause. Both
  previously-unformatted files now satisfy mix format --check-formatted.
- Empty-struct guard: __before_compile__ now raises ArgumentError when a
  module does 'use Dexcord.Struct' with no field/hydrate declarations,
  instead of silently generating a bare defstruct []. Added a compile-time
  test mirroring the existing Code.compile_string validation tests.
2026-07-05 03:37:48 -03:00
868426cf4d chore: scaffold dexcord mix project with deps 2026-07-03 22:47:31 -03:00