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

Urls (approved url keys: eg. LinkedIn, Twitter etc) #44

Open
eddiejaoude opened this issue Jan 5, 2016 · 0 comments
Open

Urls (approved url keys: eg. LinkedIn, Twitter etc) #44

eddiejaoude opened this issue Jan 5, 2016 · 0 comments

Comments

@eddiejaoude
Copy link
Contributor

  • Members can only add approved Urls to their profile
  • API to expose possible options.

make the key an enum rather than a String. You can always @PostConstruct your @ConfigurationProperties and check that the right keys are present

Preferred option 3 for now.


Option 1

  • Member
    • [collection] Urls
      • name (this must be validated against URL API) - not a foreign-key
      • value

OR

Option 2

  • Member
    • [One-to-Many] Urls (composite unique key: name/value)
      • name - foreign-key
      • value

OR

Option 3

  • Member
    • [collection] Urls
      • name (this must be validated against Config)
      • value
@eddiejaoude eddiejaoude self-assigned this Jan 5, 2016
@eddiejaoude eddiejaoude removed their assignment Jan 5, 2016
@eddiejaoude eddiejaoude changed the title Urls API (approved url labels: eg. LinkedIn, Twitter etc) Urls API (approved url keys: eg. LinkedIn, Twitter etc) Jan 5, 2016
@eddiejaoude eddiejaoude changed the title Urls API (approved url keys: eg. LinkedIn, Twitter etc) Urls (approved url keys: eg. LinkedIn, Twitter etc) Jan 5, 2016
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