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

Support nested properties inside block.json attributes #222

Open
mrclay opened this issue Mar 29, 2024 · 0 comments · May be fixed by #223
Open

Support nested properties inside block.json attributes #222

mrclay opened this issue Mar 29, 2024 · 0 comments · May be fixed by #223
Labels
good first issue Issue that doesn't require previous experience with codebase help wanted Issue with a clear description that the community can help with type: feature New functionality being added

Comments

@mrclay
Copy link

mrclay commented Mar 29, 2024

I'd like the plugin to support object properties inside attributes like:

{
  ...
  "attributes": {
    "film": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        }
        ...
      }
    }
  }
}

Currently any "type": "object" falls into the generic BlockAttributesObject type, and it seems I can't even extend it with register_graphql_field('MyBlock', 'film', ....

@theodesp theodesp added type: feature New functionality being added good first issue Issue that doesn't require previous experience with codebase help wanted Issue with a clear description that the community can help with labels Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Issue that doesn't require previous experience with codebase help wanted Issue with a clear description that the community can help with type: feature New functionality being added
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants