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

Add tests for submitting meta #1500

Open
bkoelman opened this issue Mar 15, 2024 · 2 comments
Open

Add tests for submitting meta #1500

bkoelman opened this issue Mar 15, 2024 · 2 comments

Comments

@bkoelman
Copy link
Member

There is no test coverage for sending meta in request bodies.

For example:

POST /api/people HTTP/1.1

{
  "data": {
    "type": "people",
    "attributes": {
      "firstName": "John",
      "lastName": "Doe"
    }
  },
  "meta": {
    "root": {
      "child": {
        "key-A": "value-A",
        "key-B": "value-B"
      }
    }
  }
}
@Jeeva7RP-DevEng
Copy link

Hi @bkoelman Can I work on this issue!, I am very beginner to open contribute if, I can work on this issue can u please give me more details

bkoelman added a commit that referenced this issue Mar 3, 2025
@bkoelman
Copy link
Member Author

bkoelman commented Mar 3, 2025

Hello @Jeeva7RP-DevEng, thanks for offering your help.

I've added the basic boilerplate to get you started in cd9fa50. It contains a TODO comment to give some ideas on what to test. To set up your local development environment, see https://github.com/json-api-dotnet/JsonApiDotNetCore?tab=readme-ov-file#development.

I'm about to go on vacation, so I won't be able to respond for the next two weeks.

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

No branches or pull requests

2 participants