-
Notifications
You must be signed in to change notification settings - Fork 0
add toRelLiteral
(aka RelSON
)
#49
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
base: main
Are you sure you want to change the base?
Conversation
Co-Authored-By: Denis Gursky <denis.gursky@relational.ai>
@denisgursky, what was the API you mentioned in the call that this should use? |
https://github.com/RelationalAI/rai-sdk-javascript/blob/main/src/results/resultUtils.ts#L462 |
@@ -462,6 +462,7 @@ export function convertValue<T extends RelTypedValue>( | |||
export function getDisplayValue( | |||
typeDef: RelTypeDef, | |||
value: RelTypedValue['value'], | |||
quoteStrings = false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO: duplicate this whole function instead of adding this arg? https://relationalai.slack.com/archives/C02C9AV2LL9/p1661370165042819?thread_ts=1661274493.782329&cid=C02C9AV2LL9
Copied from @denisgursky in Slack: https://relationalai.slack.com/archives/C02C9AV2LL9/p1661347284228579?thread_ts=1661274493.782329&cid=C02C9AV2LL9
TODO:
getDisplayValue
^Foo[…]
for value types?Co-Authored-By: Denis Gursky denis.gursky@relational.ai