seastan / dragncards

Multiplayer online card game platform written in Elixir, Phoenix, and React. Drag and Drop provided by React-Beautiful-DND.
https://dragncards.com/
79 stars 41 forks source link

FOR_EACH_KEY_VAL sort bug #73

Closed morvael closed 3 months ago

morvael commented 3 months ago

It's impossible to provide sortProp and sortOrder to FOR_EACH_KEY_VAL function. Results in the following error:

%FunctionClauseError{args: nil, arity: 2, clauses: nil, function: :get_in, kind: nil, module: Kernel}
seastan commented 3 months ago

We have SORT_OBJ_LIST now so I'm going to deprecate this rather than fix it

morvael commented 3 months ago

:+1:

morvael commented 3 months ago

So just remove from documentation.