Skip to content

Is there any way to do relative import for .drift files while passing it as #2816

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

You must be logged in to vote

Is the database file in the same folder as the drift file? The relative import should work in that case, you can also do 'schema/profile_table.drift' if it's in a subdirectory. Generally, imports and includes in drift are designed to behave like Dart imports.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Vedsaga
Comment options

Answer selected by Vedsaga
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