Skip to content

Adds atom state support to beepbop.

License

Notifications You must be signed in to change notification settings

onpointvn/beepbop

 
 

Repository files navigation

BeepBop

Build Status codecov

TODO

  • Check if the module is actually a Schema, and that it has the given filed in the struct.
  • Implement %{from: %{not: []}}.
  • Implement %{from: :any}.
  • Implement some custom compile time warnings/checks like ecto
  • Ensure that event names are unique!
  • Make to_state optional.
  • Finalise the event function signatures:
    @spec event_name(BeepBop.Context.t(), keyword) :: BeepBop.Context.t()
  • Compile time warnings about unused states.
  • Move event function generation to __before_compile__
  • Write tests to cover compile time errors/warnings with Code.eval_quoted
  • Write tests to cover repo operations.
  • Pick up code attributes written above event, like @doc.

Installation

The package can be installed in your project by adding beepbop to your list of dependencies in mix.exs:

def deps do
  [
    {:beepbop, github: "oyeb/beepbop"}
  ]
end

About

Adds atom state support to beepbop.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Elixir 94.9%
  • Shell 5.1%