Navigation Menu

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

store a reference to the txid within the session #98

Merged
merged 2 commits into from Jul 18, 2013

Conversation

cbeer
Copy link
Contributor

@cbeer cbeer commented Jul 12, 2013

Ugly hack, but at least plain sessions can provide enough information about a tx they may or may not be a part of

@cbeer
Copy link
Contributor Author

cbeer commented Jul 12, 2013

(needed to start simplifying the HttpGraphSubjects API to the point where it can be injected rather than instantiated EVERYWHERE)

@cbeer
Copy link
Contributor Author

cbeer commented Jul 13, 2013

Ok @barmintor, I think this is ready to go. We're storing the txid as a transient property on the session (ugly, but I tried to wrap it in some fcrepo APIs so we can change our mind later) so we can pass the plain, non-wrapped session around (as modeshape does internally) and get our tx back.

@ghost ghost assigned barmintor Jul 13, 2013
@ajs6f
Copy link
Contributor

ajs6f commented Jul 13, 2013

My only comment is to remind us all to start a conversation with the MODE folks about this. I hope and believe that they will be happy to see people extending the semantics of Session and will want to support us doing this in a cleaner way.

@cbeer
Copy link
Contributor Author

cbeer commented Jul 13, 2013

@ajs6f I've now noted that as https://www.pivotaltracker.com/story/show/53336253

cbeer added a commit that referenced this pull request Jul 18, 2013
store a reference to the txid within the session
@cbeer cbeer merged commit d586940 into master Jul 18, 2013
@cbeer cbeer deleted the store-tx-id-in-session branch July 18, 2013 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants