Skip to content

fix(types): Log types#1139

Merged
nunomaduro merged 2 commits intomasterfrom
fix/log-types
Apr 17, 2020
Merged

fix(types): Log types#1139
nunomaduro merged 2 commits intomasterfrom
fix/log-types

Conversation

@chloelbn
Copy link
Copy Markdown

Related issue: #1137

This fixes the types of Log, as well as putting some field optionals

@nunomaduro
Copy link
Copy Markdown

Still not quite there looking at the tests:

    Expected: ArrayContaining ["timestamp", "method", "answer_code", "query_body", "answer", "url", "ip", "sha1", "query_headers", "nb_api_calls", "processing_time_ms"]
    Received: ["timestamp", "method", "answer_code", "query_body", "answer", "url", "ip", "query_headers", "sha1", "processing_time_ms", "index", "query_params"]

@nunomaduro
Copy link
Copy Markdown

The bundledize is failing, but we didn't touch on the source code. I will try to check this.

Copy link
Copy Markdown
Contributor

@Haroenv Haroenv left a comment

Choose a reason for hiding this comment

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

bundlesize change is indeed unexpected, type change looks good!

Copy link
Copy Markdown
Contributor

@Haroenv Haroenv left a comment

Choose a reason for hiding this comment

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

bundlesize is failing since af659f1, so not blocking this fix, however it's probably blocking release

@nunomaduro nunomaduro merged commit 61494e2 into master Apr 17, 2020
@nunomaduro nunomaduro deleted the fix/log-types branch April 17, 2020 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants