Announcement Announcement Module
Collapse
No announcement yet.
Additional data when implementing ConnectionRepository Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Additional data when implementing ConnectionRepository

    Hi folks,

    I need to grab additional data (Twitter account ID instead of username, Facebook user's name, etc) before saving accounts to my repository. Is there a nice way I can get an instance of the API from within the ConnectionRepository? I'd like to avoid creating a circular dependency as well...

    Thanks for any suggestions. In the interim, I may just go with having the keys/secrets defined as properties of the repository, though that doesn't seem ideal to me.

  • #2
    You'll be interested in the m3 work currently happening in the connect-m3 branch over at github. We've made some changes that allow this information to be easily fetched as part of persisting a connection. This work is in progress but progressing well and should merge later this week.

    Comment


    • #3
      Great, thanks for the heads-up. Knowing that it's on the way makes me feel better about a little kludge for now.

      Comment

      Working...
      X