-
Notifications
You must be signed in to change notification settings - Fork 22
#73: Inject namespace using string replacements. #78
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
Open
zenibako
wants to merge
31
commits into
salesforce:main
Choose a base branch
from
zenibako:73--namespace-inject
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
479dd71
Fix matching issue
zenibako d67cf7a
Use == instead of .equals()
zenibako acffae6
Add suggestions from @scolladon
zenibako 660c1bb
Misc cleanup
zenibako 63e9f06
Add test for custom type without properties
zenibako c645b12
Add logic to determine jsonEquals usage from list
zenibako 4f4931b
Update API versions
zenibako 582e2a7
Update tests and clean up JSON check criteria
zenibako 73fbe42
Update all API versions
zenibako 1bbc5a0
Clarify `getType` implementation
zenibako 472b883
Restore `json()` string wrapping
zenibako 2ec9476
Add `this.` prefix
zenibako dfc98bd
Apply low-impact @scolladon suggestions
zenibako 2eb45f8
Update to `.equals()` and fix test
zenibako 5270802
Add comment for new Boolean check
zenibako bf26933
Update force-app/src/classes/Argument.cls
zenibako f14ebe0
Comment out failing asserts. Need to investigate further.
zenibako 17b8cfa
Fix CustomType assert
zenibako 4437a80
Apply @scolladon suggestion to only use `.equals()` for String
zenibako abc809a
Update force-app/test/package/classes/unit/ArgumentTest.cls
zenibako 9502def
Update force-app/test/package/classes/unit/ArgumentTest.cls
zenibako 77b3380
Add checks for case sensitivity
zenibako 505977d
Merge branch 'main' into main
LudoMeurillon 5d30310
chore: run prettier to fix whitespace
zenibako fac54ed
Merge branch 'main' into main
LudoMeurillon 38f4d07
Merge remote-tracking branch 'salesforce/main'
zenibako 6100dd4
73: Inject namespace using string replacement
zenibako 63e1e4a
fix: string replacements schema
zenibako cd508e5
chore: fix removed namespace
zenibako 54989a2
Delete redundant class
zenibako 8d73d6a
chore: remove old private class
zenibako 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 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
2 changes: 1 addition & 1 deletion
2
...mespace/classes/utils/StubBuilderImpl.cls → ...recipes/classes/utils/StubBuilderImpl.cls
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
File renamed without changes.
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
force-app/test/namespace/classes/ApexMockeryOverview.cls-meta.xml
This file was deleted.
Oops, something went wrong.
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
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.
question:
SF_NAMESPACE_DOT
should be used then in the github actions right ?We should remove then this githubaction
And only use this one:
SF_NAMESPACE_DOT
with the valuemockery.
, else it should set it with empty stringvalidate-namespace-compatibility
step and false forvalidate-package-version
Something like that ?
Uh oh!
There was an error while loading. Please reload this page.
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.
That's exactly it. It should also give people the opportunity to use their own namespace if they want to fork the package (since tests in their repository will fail if it is locked to
mockery
).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.
I'll try to contribute here soon (don't know when yet) !
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.
Not sure when I'll be able to work on this @zenibako
Feel free to start the work from this discussion 😁