azure-functions-sql-extension
azure-functions-sql-extension copied to clipboard
Allow object definitions to reference other objects
Is there an example how to use the input bindings to retrieve related objects?
Like I would like to retrieve something like this (retrieve A through an input binding)
public class A {
public int Id {get; set;}
public int BId {get; set;}
public virtual B BObject {get; set;}
}
public class B {
public int Id {get; set;}
}
This isn't functionality that exists at this time - the objects retrieve can only have basic types as properties so things like links to other objects isn't possible.
I'm going to update the title to change this to be a feature request instead, feel free to change it more if you have additional details/questions to ask!
ah got it, thanks. @Charles-Gagnon is that something you have on your roadmap already or probably not coming any time soon?
@dzsquared to confirm but I believe this is currently not on our roadmap.
That is correct, it is not currently on the roadmap. @sebader - I'm happy to chat more specifics around the scenario and potential alternatives, including querying additional attributes as a JSON string.