Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feed validator #1

Open
murielsilveira opened this issue May 26, 2017 · 0 comments
Open

Feed validator #1

murielsilveira opened this issue May 26, 2017 · 0 comments

Comments

@murielsilveira
Copy link
Owner

murielsilveira commented May 26, 2017

I'm not sure how this should work yet, but the idea is:

Make sure that a given incoming feed.json:

  • has the required attributes
  • has the correct attributes types
  • has the correct attributes format
  • therefore, is a valid feed ✅

api idea

defmodule Author do
  ...
  def is_valid() do
    # do the magic here
  end
end

Should use protocols for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant