Peter Keše
Peter Keše
Yes, I have, but I have different parts of APIs that are expecting different types of data: one part of my API is public, the other part is exposed to...
I'm experiencing the same problem with F#: - every cell I add to the notebook defaults to C#, - if I [Ctrl][Enter] run a F# cell, the next it creates...
@jonsequitur This above issue makes Dotnet.Interactive practically unusable to anyone using any other kernel but C#. I was looking at this code: https://github.com/dotnet/interactive/blob/11e9be0dae01de51a59ef8e43a0d59dd9c1d3399/src/polyglot-notebooks-vscode-common/src/metadataUtilities.ts#L99C44-L99C52 It looks like its' accessing ```js const...
I think we are dealing here with a bigger problem than just these few cosmetic changes. The solution presented here is rather hackish. I'm not familiar enough with the codebase...
@xperiandri The thing was that when defining generic (untyped) objects as inputs, the library will only parse and populate the fist level of inputs. If input object contains nested objects,...
... so what I did here was that I just mocked what ExecuteInput would have done if it had been defined (here I was assuming it's generic objects all the...
@xperiandri thanks, I appreciate your help. Defining a Range type works. My problem however is that in my real app, I don't have a fixed input type known a compile...
I've tried with ```fsharp let randoms = let inputs = [ Define.Input ("count", IntType) Define.Input ("range", Nullable (Define.InputObject("Range", [ Define.Input ("min", IntType) Define.Input ("max", IntType) ]))) ] let renderRandoms (ctx:ResolveFieldContext)...
`Define.InputObject` compiles fine but at query time results in `ctx.Arg("range")` being an empty sequence. Similarly `Define.InputObject` compiles but at runtime returns a Dynamic object with no members.
Thanks @xperiandri, based on your hints, I managed to patch the code in #475 ... and that fixes my issue. (ignore the link just above this comment: I somehow managed...