Skip to content

[master < T1039] Fix map at operator returning null from a map#1039

Merged
Josipmrden merged 6 commits intomasterfrom
fix-creating-mgp-value-from-nullptr
Jun 27, 2023
Merged

[master < T1039] Fix map at operator returning null from a map#1039
Josipmrden merged 6 commits intomasterfrom
fix-creating-mgp-value-from-nullptr

Conversation

@Josipmrden
Copy link
Contributor

@Josipmrden Josipmrden commented Jun 25, 2023

[master < Task] PR

  • Check, and update documentation if necessary
  • Provide the full content or a guide for the final git message

To keep docs changelog up to date, one more thing to do:

  • Write a release note here, including added/changed clauses
    Fixed bug when returning values from a map (now returning null instead of an exception happening)
  • Tag someone from docs team in the comments

@Josipmrden Josipmrden added bug bug Ready for review PR is ready for review labels Jun 25, 2023
@Josipmrden Josipmrden added this to the mg-v2.9.0 milestone Jun 25, 2023
@Josipmrden Josipmrden self-assigned this Jun 25, 2023
@Josipmrden Josipmrden changed the title Fix map at operator returning null from a map [master < T1039] Fix map at operator returning null from a map Jun 25, 2023
@Josipmrden
Copy link
Contributor Author

@vpavicic

@vpavicic
Copy link
Contributor

When no values are returned from a map, a null is returned instead of an
exception occurring.

@Josipmrden ok?

@Josipmrden Josipmrden merged commit 5ce1526 into master Jun 27, 2023
@Josipmrden Josipmrden deleted the fix-creating-mgp-value-from-nullptr branch June 27, 2023 13:04
as51340 pushed a commit that referenced this pull request Oct 24, 2025
Fix map returning null from a map and not throwing exception if key is not present
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug bug Ready for review PR is ready for review

Projects

No open projects
Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

3 participants