assemblee-virtuelle / assemblee-virtuelle/Semantic-Bus

New component fields comparator

Open
#298 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
57
Forks
10
Avg merge
8m
Merged PRs (30d)
55

Description

We need a new component, able to compare each field of an object A with each field of an object B.

- Every property of A must be in B (2 properties in A and 2 properties in B)
- Every property of A must be the same as the properties of B (field 1-A = "test", field 1-B = "test", field 2-A = "taxonomy", field 2-B = "taxonomy")

We need to create a parameter based on a user choice : "Do we want to compare 2 (or more) objects with the same order for every property or not"?
- if A = { "test" : "its a test", "taxonomy" : "plant" } and B = { "test" : "its a test 2", "taxonomy" : water" } returns true to the user.
- if A = { "test" : "its a test", "taxonomy" : "plant" } and B = { "taxonomy" : water" , "test" : "its a test 2" } returns false to the user.

Contributor guide

No contributing guide indexed for this repository

Research direction

No file, entry point, or test is named in the issue. Start by locating existing components that compare or transform objects and clarify whether property order and value equality are intended options; done means the comparator behavior is agreed and covered by tests for the examples.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
data
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.