hamsterksu / Android-AnnotatedSQL

Android library for auto generating SQL schema and Content provider
Other
159 stars 24 forks source link

Cyclic dependencies between Schema2 and database contract #21

Open Alexander-- opened 9 years ago

Alexander-- commented 9 years ago

Let's look at schema with simple join on views. The linked gist won't compile, because using a Schema2 requires a table to be parsed... Which can not be done until @SimpleView, using the Scema2 is parsed.

I see 3 solutions (aside from not using AnnotatedSQL there):