Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@freb
Copy link
Contributor

@freb freb commented Feb 23, 2022

Ent tests require the json1 build flag to enable JSON support in SQLite, otherwise the tests fail with an error:

--- FAIL: TestSQLite (0.00s)
    json_test.go:232:
        	Error Trace:	json_test.go:232
        	            				json_test.go:130
        	Error:      	Received unexpected error:
        	            	no such function: JSON_EXTRACT
        	Test:       	TestSQLite
FAIL

Let's make it easy on first-time contributors by prompting them to use this flag in the contributing documentation.

@a8m a8m merged commit 4213c72 into ent:master Feb 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants