Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Making blog post sections expandable with attr_json? #46

Open
wakproductions opened this issue Sep 21, 2023 · 0 comments
Open

Making blog post sections expandable with attr_json? #46

wakproductions opened this issue Sep 21, 2023 · 0 comments

Comments

@wakproductions
Copy link
Contributor

Spina allows users to customize page parts because it heavily uses the attr_json jsonb data type component, which enables the storage of unstructured metadata. In that jsonb data column, any number of custom "page parts" can be stored and processed upon retrieval.

spina-blog stores its content in a more traditional database table with defined columns for content, image_id, excerpt text, etc. The limitation is that you can't add new types of data without creating new columns.

Have you considered making the Spina::Blog::Post type flexible in the way that Spina::Page is through attr_json? I'd like to add an additional type of metadata column for tags but can't do that without running my version of the gem as a fork.

Just wanting to know if such plans are in the works for possible collaboration.

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

No branches or pull requests

1 participant