Dayron icon indicating copy to clipboard operation
Dayron copied to clipboard

A repository `similar` to Ecto.Repo that maps to an underlying http client, sending requests to an external rest api instead of a database

Results 16 Dayron issues
Sort by recently updated
recently updated
newest added

Hey there, Currently, it seems that Dayron only supports data retrieval of endpoints that look like this: ```json [ { "id": 0, "name": "Elem 1"}, { "id": 1, "name": "Elem...

Hi, I encountered an issue while using your lib to consume API.ai's api. A GET request is actually sending double quotes in body. After hours of debugging (I thought something...

Tesla is a new Elixir Http Client with middleware support, similar to ruby faraday. https://medium.com/@teamon/introducing-tesla-the-flexible-http-client-for-elixir-95b699656d88#.kfhd11vjv

enhancement
hacktoberfest

Based off of the HTTPoison adapter. Work in progress.

Instead of manually converting JSON keys to atoms in `Dayron.HTTPoisonAdapter`, eliminate a dependency and some code by using the `keys: :atoms` option for Poison when decoding.

The default HTTPoison adapter implementation decodes and creates atom keys, which may lead to unsolvable memory leaks. I see [here](https://github.com/inaka/Dayron/blob/076cdcce96231c878f69408aaaba650919cabce0/lib/dayron/model.ex#L62-L68) that `__from_json__/2` assumes (in the default implementation) atom keys, but...

enhancement
question

It seems that hexdoc.pm links the documentation with the source code in github, but those links are not working because of missing [version tags](https://github.com/inaka/Dayron/tags). - `v0.1.0` has no tag. -...

hacktoberfest

- Add an example app where api requests authentication is made based on a current_user token field. - Handle unauthorized api responses (401, 403)

enhancement
hacktoberfest

It creates a `MyApp.RestRepo` module and basic configuration if possible

enhancement
hacktoberfest

Add support to Ecto.Changeset, casting field values, running validations before sending requests

enhancement
hacktoberfest