Skip to content

Conversation

@matthv
Copy link
Member

@matthv matthv commented Feb 6, 2026

Definition of Done

  • Add rails forest_admin:schema:generate rake task that generates .forestadmin-schema.json without starting the Rails server or sending the schema to the Forest Admin API

Usage

# Generate schema at the default path (.forestadmin-schema.json)
rails forest_admin:schema:generate

# Show stack trace on error
rails forest_admin:schema:generate debug=true

 ### CI example

```bash
rails forest_admin:schema:generate
git diff --exit-code .forestadmin-schema.json

@matthv matthv force-pushed the feat/cmd-generate-schema branch from f60a9da to 097bd8e Compare February 6, 2026 11:23
matthv and others added 3 commits February 6, 2026 16:48
@matthv matthv merged commit 1ee7189 into main Feb 9, 2026
35 checks passed
@matthv matthv deleted the feat/cmd-generate-schema branch February 9, 2026 09:58
forest-bot added a commit that referenced this pull request Feb 9, 2026
# [1.24.0](v1.23.3...v1.24.0) (2026-02-09)

### Features

* add rake task to generate schema without server ([#260](#260)) ([1ee7189](1ee7189))
@forest-bot
Copy link
Member

🎉 This PR is included in version 1.24.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants