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
protoloco chamada: 2023611502227 | |
cancelamento: 2023611709669 |
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
test.js:5 | |
5: const dontWork = <WrappedExample name={123} />; // it start working if we uncomment the line in the other file | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ React element `WrappedExample` | |
5: const dontWork = <WrappedExample name={123} />; // it start working if we uncomment the line in the other file | |
^^^ number. This type is incompatible with | |
6: type ExampleProps = { name: string }; | |
^^^^^^ string. See: container.js:6 | |
Trace: | |
* path 1: | |
5: const dontWork = <WrappedExample name={123} />; // it start working if we uncomment the line in the other file |
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
// @flow | |
/* eslint-disable jsx-control-statements/jsx-jcs-no-undef, no-unused-vars */ | |
import React from 'react'; | |
import Relay from 'react-relay'; | |
/* | |
* Type mapping: | |
* D - DefaultProps |
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
import { shallow } from 'enzyme'; | |
const deepShallow = (endCondition) => (element) => { | |
let wrapper = shallow(element); | |
while (wrapper.node && !endCondition(wrapper)) { | |
wrapper = wrapper.shallow(); | |
} | |
return wrapper; | |
} |
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
// Copyright 2004-present Facebook. All Rights Reserved. | |
/* eslint-disable no-unused-vars */ | |
'use strict'; | |
import React from 'react'; | |
import Link from '../Link.react'; | |
import { shallow } from 'enzyme'; | |
// not used, but need this import |
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
import _ from 'lodash'; | |
import React from 'react'; | |
import Relay from 'react-relay'; | |
import RelayQuery from 'react-relay/lib/RelayQuery'; | |
import GraphQLStoreQueryResolver from 'react-relay/lib/GraphQLStoreQueryResolver' | |
import RelayFragmentPointer from 'react-relay/lib/RelayFragmentPointer'; | |
import RelayMetaRoute from 'react-relay/lib/RelayMetaRoute'; | |
class DummyComponent extends React.Component { | |
render() { |
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
function getFieldList(context, asts = context.fieldASTs) { | |
//for recursion...Fragments doesn't have many sets... | |
if (!Array.isArray(asts)) asts = [asts] | |
//get all selectionSets | |
var selections = asts.reduce((selections, source) => { | |
if(source.selectionSet) { | |
selections.push(...source.selectionSet.selections); | |
} |
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
@Override | |
public boolean equals(Object obj) { | |
if (this == obj) { | |
return true; | |
} | |
if (obj == null || obj.getClass() != this.getClass()) { | |
return false; | |
} | |
TopChildrenQuery that = (TopChildrenQuery) obj; |
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
2013-06-25_14:35:37.51497 org.elasticsearch.transport.TransportSerializationException: Failed to deserialize exception response from stream | |
2013-06-25_14:35:37.51497 at org.elasticsearch.transport.netty.MessageChannelHandler.handlerResponseError(MessageChannelHandler.java:171) | |
2013-06-25_14:35:37.51497 at org.elasticsearch.transport.netty.MessageChannelHandler.messageReceived(MessageChannelHandler.java:125) | |
2013-06-25_14:35:37.51497 at org.elasticsearch.common.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) | |
2013-06-25_14:35:37.51497 at org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:558) | |
2013-06-25_14:35:37.51497 at org.elasticsearch.common.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:786) | |
2013-06-25_14:35:37.51497 at org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:296) | |
2013-06- |
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
/** | |
* This file is licensed to you under the Apache License, Version 2.0 (the | |
* "License"); you may not use this file except in compliance with the | |
* License. You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software | |
* distributed under the License is distributed on an "AS IS" BASIS, | |
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
NewerOlder