This initializer, when used with nil coalescing all around the place like in the template, is causing the Swift compiler to typecheck for about an extra minute on M1 (146 seconds in total with dependencies already resolved).
In particular, this line seems to cause the issue in the template:
But I'm opening the issue here, because the same expression is used in the template project for Postgres, and that configuration builds "immediately" (71 seconds in total with dependencies already resolved).
Describe the bug
This initializer, when used with nil coalescing all around the place like in the template, is causing the Swift compiler to typecheck for about an extra minute on M1 (146 seconds in total with dependencies already resolved).
In particular, this line seems to cause the issue in the template:
But I'm opening the issue here, because the same expression is used in the template project for Postgres, and that configuration builds "immediately" (71 seconds in total with dependencies already resolved).
To Reproduce
Steps to reproduce the behavior:
git clone https://github.com/vapor/template-fluent-mysql
cd template-fluent-mysql
swift build
Expected behavior
The template project should build as fast as it does with the Postgres driver.
Environment
Dependencies:
System: