-
Notifications
You must be signed in to change notification settings - Fork 27
update blues branch with xiatechs branch #15
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
tbal999
wants to merge
68
commits into
blues:main
Choose a base branch
from
xiatechs:main
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.
Conversation
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
♻️ float to decimal & set DivisionPrecision = 8
this enables: - comments in jsonata code - fields with any character in their name
add more accurate division
add regexp & pathing
Feature/xia1
Feature/joinoperator
nicho2
approved these changes
Oct 24, 2022
thread safety
* update dev * add mutex * another * and another * fix tests etc Co-authored-by: tbal999 <[email protected]>
Improve errors
In Jsonata it is a valid response return `[]any{}` from a transform, but this was previously filtered out. For example, in jsonata-js, the following input and transform result in a response of `[]`. Input: ``` { "Account": { "Account Name": "Firefly", "Order": [ ] } } ``` Transform: "Account.Order" The same data and transform resulted in a "no results found" error in jsonata-go.
* Added new function ObjectsToDocument * lint & fixes * Updated to remove type conversion as already converted in the JSONata * add some errors --------- Co-authored-by: James Weeks <[email protected]> Co-authored-by: tbal999 <[email protected]>
* Added new function ObjectsToDocument * lint & fixes * Updated to remove type conversion as already converted in the JSONata * Added new JSONata function OneToManyJoin * add tests to assert behaviour * test * remove usage of reflect --------- Co-authored-by: James Weeks <[email protected]> Co-authored-by: tbal999 <[email protected]>
* add hash256 func * add hash hasStr function --------- Co-authored-by: tbal999 <[email protected]>
* add hash256 func * add hash hasStr function * timedatedim * remove artifact * latest changes * adjustments * passes * correction * update hash * add UTC field todo * remove old field * erase comments * cleanup * tests * bolt on timedatedim * correction * add require * add timeparse / raw constr * abstract * remove outputdata debug data * add gitignore * test * update to integers * adjustments * add test data * fix * fix * added test case * added comment * add lite version * add raw value * fix * add * gofmt * add january test case * fix * remove Z * add more tests --------- Co-authored-by: tbal999 <[email protected]>
Co-authored-by: tbal999 <[email protected]>
* Enhancement to oneToMany function to add sql like join types * migrate & add non-reflect methods * fix --------- Co-authored-by: JamesXiatech <[email protected]> Co-authored-by: tbal999 <[email protected]>
Co-authored-by: tbal999 <[email protected]>
* Added new function to rename object keys * Added unit test for RenameKeys
Co-authored-by: tbal999 <[email protected]>
* add fold function logic * replace with goccy * test --------- Co-authored-by: tbal999 <[email protected]>
* remove the 000 timestmp * remove wednesday checking --------- Co-authored-by: tbal999 <[email protected]>
This fixes the following panic: ``` panic: runtime error: hash of unhashable type []interface {} goroutine 176 [running]: http://github.com/xiatechs/jsonata-go/jlib.Distinct ({0x1087cc0?, 0xc000661368?, 0x0?}) /go/pkg/mod/github.com/xiatechs/[email protected]/jlib/array.go:61 +0x3e5 reflect.Value.call({0x10c10a0?, 0x1404a18?, 0x4cadbf?}, {0x1318275, 0x4}, {0xc000661590, 0x1, 0x0?}) /usr/local/go/src/reflect/value.go:596 +0xce5 reflect.Value.Call({0x10c10a0?, 0x1404a18?, 0x1?}, {0xc000661590?, 0xc000661590?, 0x1087d00?}) /usr/local/go/src/reflect/value.go:380 +0xb9 ```
* add monday-weekday * chore: just use isoweek twice * chore: fix test * chore: pushed * update * chore: update tests * chore: remove uneeded func * chore: update testdata --------- Co-authored-by: tbal999 <[email protected]>
fix nil pointer issue, add unit tests, add data driven tests, fix bug in data driven framework
Changed `continue` to throw an Error if no Code is found in the array item list for $objectsToDocument
AS-3691 - Updated objectsToDocument function to deal with array syntax
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.
I believe the blues branch of go-jsonata is now inactive -
for latest version refer to xiatechs/jsonata branch for this commit
includes commits from https://github.com/ASJadeTech/jsonata-go
and https://github.com/xiatechs/jsonata-go