Skip to content

Question regarding creating general/table agnostic methods #3143

Answered by simolus3
piperun asked this question in Q&A
Discussion options

You must be logged in to vote

You can use schema introspection to work around these issues. That's necessarily a bit unsafe, but there's no way to represent "extensions on tables having a column named id" in Darts type system, so that's the best we can do.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@piperun
Comment options

@piperun
Comment options

@simolus3
Comment options

Answer selected by piperun
@piperun
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants