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

fix null return when field is array #41

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

vitorgamer58
Copy link
Contributor

Fixes #40

Proposed Changes

  1. Adjusts return if it is an empty item (null, undefined or [])

Readiness Checklist

Author/Contributor

  • If documentation is needed for this change, has that been included in this pull request
  • Remember to check if code coverage decrease, if so, please implement the necessary tests

Reviewing Maintainer

  • Label as breaking if this is a large fundamental change
  • Label as either automation, bug, documentation, enhancement, infrastructure, or performance

Copy link

codecov bot commented Mar 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.81%. Comparing base (091670e) to head (0fc0f5f).
Report is 2 commits behind head on main.

❗ Current head 0fc0f5f differs from pull request most recent head ab2d23b. Consider uploading reports for the commit ab2d23b to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #41   +/-   ##
=======================================
  Coverage   95.81%   95.81%           
=======================================
  Files           3        3           
  Lines         239      239           
=======================================
  Hits          229      229           
  Misses         10       10           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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

Successfully merging this pull request may close these issues.

Returning null when fields is an empty array or undefined
1 participant