Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add functions to create incremental queries for all models in a schema #26

Merged
merged 1 commit into from
Nov 16, 2022

Conversation

ypc-faros
Copy link
Collaborator

Description

Add functions to create incremental queries for all models in a schema

Reuses the buildIncrementalQueryV1/V2 functionality with 2 minor changes:

  • Introduces a param avoidCollisions to control whether to avoid field name collisions when flattening (not needed for my use case, left the current behavior as default).
  • Adds the metadata {refreshedAt} to the selections in V1.

Type of change

  • Bug fix
  • New feature
  • Breaking change

Related issues

Fix #1

Migration notes

Describe migration notes if any

Extra info

Add any additional information

@sonarcloud
Copy link

sonarcloud bot commented Nov 16, 2022

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 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@ypc-faros ypc-faros merged commit 1f85900 into main Nov 16, 2022
@ypc-faros ypc-faros deleted the ypc/all-models branch November 16, 2022 16:59
@github-actions github-actions bot locked and limited conversation to collaborators Nov 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants