temporalio / temporalio/temporal
Embed schema content within schema tool
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Go
- Stars
- 23.2k
- Forks
- 1.9k
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 228
Description
We should include the schema content within schema tool using go:embed
ref: https://github.com/temporalio/temporal/blob/08b4871/schema/sqlite/setup.go#L48
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with schema/sqlite/setup.go around the referenced line 48 and inspect how the schema tool currently obtains its content. Use Go's go:embed support so the schema content is included within the tool, then verify that the tool uses the embedded content as intended.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- database
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100