Feat-DX- 3047: Added Support for Nested Global Field for CRUD Operation#87
Merged
cs-raj merged 2 commits intodevelopmentfrom Jul 17, 2025
Merged
Feat-DX- 3047: Added Support for Nested Global Field for CRUD Operation#87cs-raj merged 2 commits intodevelopmentfrom
cs-raj merged 2 commits intodevelopmentfrom
Conversation
nadeem-cs
approved these changes
Jul 17, 2025
There was a problem hiding this comment.
Pull Request Overview
Adds support for nested global field references in CRUD operations and bumps the SDK version to v0.3.0.
- Introduces
GlobalFieldRefsandGlobalFieldReferencemodels - Extends
ContentModellingto includeDescriptionandGlobalFieldRefs - Updates version from 0.2.0 to 0.3.0 in project props and user agent
- Updates CHANGELOG with new feature details
Reviewed Changes
Copilot reviewed 18 out of 18 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| Directory.Build.props | Bumped <Version> from 0.2.0 to 0.3.0 |
| Contentstack.Management.Core/Models/GlobalFieldRefs.cs | Added GlobalFieldRefs model |
| Contentstack.Management.Core/Models/Fields/GlobalFieldReference.cs | Added GlobalFieldReference field type |
| Contentstack.Management.Core/Models/ContentModelling.cs | Added Description and GlobalFieldRefs properties |
| Contentstack.Management.Core/ContentstackClient.cs | Updated internal Version to 0.3.0 |
| CHANGELOG.md | Documented v0.3.0 feature set |
Comments suppressed due to low confidence (3)
Contentstack.Management.Core/Models/GlobalFieldRefs.cs:27
- [nitpick] The JSON property name
isChildmixes camelCase with other snake_case properties; consider usingis_childfor consistency withoccurrence_count.
[JsonProperty(propertyName: "isChild")]
Contentstack.Management.Core/Models/ContentModelling.cs:16
- New
Descriptionproperty is not covered by existing unit tests; consider adding deserialization tests to verify it and theGlobalFieldRefslist are correctly populated.
[JsonProperty(propertyName: "description")]
Contentstack.Management.Core/Models/GlobalFieldRefs.cs:10
- [nitpick] Class name
GlobalFieldRefsis plural but represents a single reference; consider renaming toGlobalFieldReffor clarity.
public class GlobalFieldRefs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
version bump: 0.2.0 -> 0.3.0