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
| import { Animated, FlatList } from 'react-native'; | |
| import React, { FC, Suspense, useState } from 'react'; | |
| import type { | |
| SearchUsersPaginationQuery, | |
| SearchUsersPaginationQueryResponse, | |
| SearchUsersPaginationQueryVariables, | |
| } from '../../__generated__/SearchUsersPaginationQuery.graphql'; | |
| import { | |
| graphql, | |
| useLazyLoadQuery, |
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
| docker rm -f $(docker ps | grep 'search-string' | awk '{print $1}') |
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
| const path = require('path'); | |
| const getWorkspaces = require('get-yarn-workspaces'); | |
| const blacklist = require('metro-config/src/defaults/blacklist'); | |
| const workspaces = getWorkspaces(__dirname); | |
| module.exports = { | |
| projectRoot: path.resolve(__dirname, 'packages/app'), |
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
| DDD Style Value Types and Filtering | |
| Hi Guys, | |
| I’m trying to migrate a scalar field from String to an EmailAddress class | |
| The EmailAddress class has a String Property called ‘Value’. | |
| As part of the GraphQL Schema there should be a way to filter the User by EmailAddress. | |
| ```csharp |
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
| public interface INewTypeEq<TSelf, TValue> : IValue<TValue>, IEquatable<TSelf> | |
| where TValue : IEquatable<TValue> | |
| where TSelf : INewTypeEq<TSelf, TValue> | |
| { | |
| TSelf New(TValue value); | |
| } | |
| public static IRequestExecutorBuilder AddIdType<TIdType> | |
| ( | |
| this IRequestExecutorBuilder builder, |
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
| { | |
| "$id": "1", | |
| "input": { | |
| "$id": "2", | |
| "providerName": "WorkflowInstance" | |
| }, | |
| "output": { | |
| "$id": "3", | |
| "activityId": "ef0a5456-1c33-4494-9ca4-3fde95c6fa2b" | |
| }, |
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
| public enum OrderMappingStatus | |
| { | |
| Pending, | |
| Mapped, | |
| Failed | |
| } | |
| public record OrderMappedModel | |
| ( | |
| TenantId TenantId, |
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
| import { promises } from "fs"; | |
| import crypto from "crypto"; | |
| import path from "path"; | |
| import { print, parse } from "graphql"; | |
| const plugin = { | |
| name: "relay", | |
| setup: build => { | |
| build.onLoad({ filter: /\.tsx$/, namespace: "" }, async args => { | |
| let contents = await promises.readFile(args.path, "utf8"); |
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
| develop/react/react-webpack master ✗ 3h49m ✖ ⚑ ◒ | |
| ▶ yarn build | |
| yarn run v1.22.10 | |
| $ webpack --mode production | |
| assets by status 1.06 MiB [cached] 2 assets | |
| orphan modules 718 KiB [orphan] 133 modules | |
| runtime modules 1.25 KiB 6 modules | |
| modules by path ./node_modules/ 2.51 MiB | |
| javascript modules 2.49 MiB | |
| cacheable modules 2.49 MiB 325 modules |
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
| module.exports = { | |
| schema: './data/schema.graphql', | |
| language: 'typescript', | |
| src: '../.', | |
| include: [ | |
| './web/src/**', | |
| './shared/src/**', | |
| ], | |
| }; |
NewerOlder