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

dont include did doc in create session for now #484

Merged
merged 1 commit into from
Dec 16, 2023

Conversation

whyrusleeping
Copy link
Collaborator

The did doc is defined as an any type in the lexicon right now, which in all other cases implies a record (with a $type field). For now, lets just ignore this in the go code (its not necessary for anything) until we figure out a better way forward.

@whyrusleeping whyrusleeping merged commit ad730a7 into main Dec 16, 2023
7 checks passed
@bnewbold bnewbold deleted the fix/skip-did-doc-create-session branch December 16, 2023 04:03
@bnewbold
Copy link
Collaborator

hmmm, I had just done a patch to lexgen which made this field, and a couple other non-record unknown types, an interface{}. but looks like that patch had gotten clobbered. the other field like this is plcOp.

my main concern is with having to manually comment out these fields after every run of lexgen, that is a footgun and somebody will forget or not know they need to do that.

@imax9000
Copy link
Contributor

Please always remove it from other places too. getSession and refreshSession are still broken

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.

3 participants