Skip to content

Feature/collection subcollections#38

Merged
jyecusch merged 2 commits into
mainfrom
feature/collection-subcollections
Sep 9, 2021
Merged

Feature/collection subcollections#38
jyecusch merged 2 commits into
mainfrom
feature/collection-subcollections

Conversation

@HomelessDinosaur
Copy link
Copy Markdown
Member

No description provided.

@HomelessDinosaur HomelessDinosaur linked an issue Aug 30, 2021 that may be closed by this pull request
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

Merging #38 (533d117) into main (439c13e) will decrease coverage by 0.26%.
The diff coverage is 88.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #38      +/-   ##
==========================================
- Coverage   95.91%   95.64%   -0.27%     
==========================================
  Files          16       16              
  Lines         710      735      +25     
==========================================
+ Hits          681      703      +22     
- Misses         29       32       +3     
Impacted Files Coverage Δ
nitric/api/documents.py 98.36% <88.00%> (-1.18%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 439c13e...533d117. Read the comment docs.

Comment thread nitric/api/documents.py
Comment on lines +230 to +240
def to_collection_ref(self):
"""Return this collection group as a collection ref"""
return CollectionRef(
self._documents,
self.name,
DocumentRef(
self._documents,
self.parent,
NIL_DOC_ID,
),
)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we should allow this, we don't want nil doc refs floating around.

@jyecusch jyecusch force-pushed the feature/collection-subcollections branch from 533d117 to b59f825 Compare September 9, 2021 10:34
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Sep 9, 2021

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

@jyecusch jyecusch merged commit 1d3aafa into main Sep 9, 2021
@jyecusch jyecusch deleted the feature/collection-subcollections branch April 16, 2025 08:18
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.

Add Document Subcollection Group Queries

3 participants