Skip to content
#

command-handler

Here are 42 public repositories matching this topic...

OKTAYKIR
OKTAYKIR commented May 15, 2020

@suadev, I get the following error after running the application:

12:17:48:558 [Debug]: Execution of command 'ExampleCommand' with ID 'command-a478d189-d908-4bb9-918f-c7507b1eb9ee' on aggregate 'EventFlowExample.Aggregates.ExampleAggregate' failed due to exception 'TypeInitializationException' with message: The type initializer for 'MongoDB.Bson.Serialization.BsonClassMap' threw an except
mendess
mendess commented Sep 2, 2018

Adds a description attribute to commands. This is just a simple field that can be filed with a String.

Useful in case you want to make a help command programmatically.

Output:

  @description "The help command"
  command help() do
    IO.inspect @commands
    {_, _, _, desc, _} = @commands
    |> Enum.filter(fn {_, :help, _, _, _} -> true
        _ -> false
    end)
    |

Improve this page

Add a description, image, and links to the command-handler topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the command-handler topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.