-
Notifications
You must be signed in to change notification settings - Fork 1k
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
fix[gen1][core] ENG-7841 change to queryParams #3787
Merged
Merged
Changes from 2 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
934f83f
fix[gen1][core] ENG-7841 change to queryParams
a6995c0
fix[gen1][core] ENG-7841 remove console.log()
42a258b
fix[gen1][core] ENG-7841 change to tests
0356239
Merge branch 'main' into ENG-7841
89107d3
fix[changeset] ENG-7841 changeset added
a045275
fix[changeset] ENG-7841 change to tests
db72aed
Merge branch 'main' into ENG-7841
620430d
fix[changeset] ENG-7841 change to changesets
6741f22
Update .changeset/famous-pants-agree.md
clyde-builderio cc4168a
fix[gen1][core] ENG-7841 change to tests for noTraverse
e17d580
fix[gen1][core] ENG-7841 change to tests names for noTraverse
c11643b
fix[gen1][core] ENG-7841 set noTraverse default value in get()
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should move this logic before the following code blocks:
builder/packages/core/src/builder.class.ts
Lines 2604 to 2616 in 1908d27
builder/packages/core/src/builder.class.ts
Lines 2627 to 2630 in 1908d27
These are two ways customers can override properties, so they need to exist after you set the
noTraverse
andincludeRefs
defaults.I also just noticed these two
noTraverse
settings:builder/packages/core/src/builder.class.ts
Lines 2495 to 2497 in 1908d27
builder/packages/core/src/builder.class.ts
Lines 2863 to 2867 in 1908d27
This means that
noTraverse
is already handled (set totrue
ingetAll()
which haslimit > 1
. So you don't need to setnoTraverse
, you only need to add theincludeRefs = true
.TLDR:
noTraverse
defaultincludeRefs
default higher up so it can still be overridden by customerincludeRefs
istrue
includeRefs: false
tobuilder.get()
orbuilder.getAll()
, then they are able to update the URL