elixir-maru / maru

Elixir RESTful Framework
https://maru.readme.io
BSD 3-Clause "New" or "Revised" License
1.32k stars 84 forks source link

Use List.flatten/1 instead of Enum.concat/1 #94

Closed efcasado closed 6 years ago

efcasado commented 6 years ago

This change is required by https://github.com/efcasado/maru_swagger/commit/e034cacd6fc12b285ae844ca49f75e518cbc8c33#diff-2c9d1a519fe1537e1425a947f40723cdR17. Without this change, we cannot use the @plugs_before module attribute to include a list of plugs.

efcasado commented 6 years ago

@falood any comments about this change?

Note that besides swagger-ui, this might be useful for other use cases.

falood commented 6 years ago

@efcasado this pr is ok to merge, thanks. let's discuss the swagger things under swagger issue 🙂