Results 1 to 3 of 3

Thread: Additional data when implementing ConnectionRepository

  1. #1

    Default 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. #2
    Join Date
    Aug 2004
    Location
    Melbourne, FL
    Posts
    2,794

    Default

    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.
    Keith Donald
    Core Spring Development Team

  3. #3

    Default

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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •