Check experiment groups JSON in JS provider

Open Beginner friendly
#957 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
65/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
javascript
Domain
backend

Research direction

Start in the JavaScript provider code that parses experiment_groups_json and trace how a null value reaches the parser. Add coverage for a null value while preserving the existing parsing behavior, then run the provider's relevant tests to confirm the fix.

Written by the indexing model from the issue text.

Description

We aren't checking null for experiment_groups_json , we are calling parse on it without checking , can we fix this ?

Originally posted by @sauraww in #948

Dominant language
Rust
Stars
430
Forks
49
Avg merge
2d 1h
Merged PRs (30d)
8

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from juspay/superposition

All issues in juspay/superposition

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.